gdc phobos and druntime automatic import

Daniel Green venix1 at gmail.com
Fri Mar 15 12:00:23 PDT 2013


On 3/15/2013 11:42 AM, Benjamin Thaut wrote:
> Well mingw-gdc is quite a bit behind.

I'm working on that.

C:\MinGW\msys\1.0>/crossdev/gdc/stage/bin/gdc -v
Using built-in specs.
COLLECT_GCC=/crossdev/gdc/stage/bin/gdc
COLLECT_LTO_WRAPPER=c:/crossdev/gdc/stage/bin/../libexec/gcc/i686-pc-mingw32/4.8.0/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ../configure --prefix=/crossdev/gdc/stage 
--with-gmp=/crossdev/gdc/deps/gmp --with-mpfr=/crossdev/gdc/deps/mpfr 
--with-mpc=/crossdev/gdc/deps/mpc --with-cloog=/crossdev/gdc/deps/cloog/ 
--with-isl=/crossdev/gdc/deps/isl --disable-bootstrap 
--enable-languages=c,c++,d,lto
Thread model: win32
gcc version 4.8.0 20130303 (experimental) (GCC)


But in the meantime just modify the code directly.  You can find it in 
d-lang.cc look for

VersionCondition::addPredefinedGlobalIdent ("GNU");

and add one for Windows.



More information about the D.gnu mailing list