Mercurial > projects > ddmd
comparison dmd/Global.d @ 14:2cc604139636
Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sun, 04 Apr 2010 02:06:32 +0100 |
parents | 10317f0c89a5 |
children | ef02e2e203c2 |
comparison
equal
deleted
inserted
replaced
11:3356c90e9aac | 14:2cc604139636 |
---|---|
8 string mars_ext = "d"; | 8 string mars_ext = "d"; |
9 string sym_ext = "d"; | 9 string sym_ext = "d"; |
10 | 10 |
11 version (TARGET_WINDOS) { | 11 version (TARGET_WINDOS) { |
12 string obj_ext = "obj"; | 12 string obj_ext = "obj"; |
13 } else version (XXX) { // TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS | 13 } else version (POSIX) { // TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS |
14 string obj_ext = "o"; | 14 string obj_ext = "o"; |
15 } else version (TARGET_NET) { | 15 } else version (TARGET_NET) { |
16 } else { | 16 } else { |
17 static assert (false); | 17 static assert (false); |
18 } | 18 } |
19 | 19 |
20 version (TARGET_WINDOS) { | 20 version (TARGET_WINDOS) { |
21 string lib_ext = "lib"; | 21 string lib_ext = "lib"; |
22 } else version (XXX) { // TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS | 22 } else version (POSIX) { // TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS |
23 string lib_ext = "a"; | 23 string lib_ext = "a"; |
24 } else version (TARGET_NET) { | 24 } else version (TARGET_NET) { |
25 } else { | 25 } else { |
26 static assert (false); | 26 static assert (false); |
27 } | 27 } |