Mercurial > projects > ldc
comparison dmd/mars.c @ 285:297690b5d4a5 trunk
[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 03:14:49 +0200 |
parents | 70c370e97944 |
children | 0baca2feb554 |
comparison
equal
deleted
inserted
replaced
284:70c370e97944 | 285:297690b5d4a5 |
---|---|
326 //VersionCondition::addPredefinedGlobalIdent("D_Bits"); | 326 //VersionCondition::addPredefinedGlobalIdent("D_Bits"); |
327 VersionCondition::addPredefinedGlobalIdent("all"); | 327 VersionCondition::addPredefinedGlobalIdent("all"); |
328 | 328 |
329 #if _WIN32 | 329 #if _WIN32 |
330 inifile(argv[0], "llvmdc.ini"); | 330 inifile(argv[0], "llvmdc.ini"); |
331 #endif | 331 #elif linux |
332 #if linux | |
333 inifile(argv[0], "llvmdc.conf"); | 332 inifile(argv[0], "llvmdc.conf"); |
334 #else | 333 #else |
335 #error | 334 #error |
336 #endif | 335 #endif |
337 getenv_setargv("DFLAGS", &argc, &argv); | 336 getenv_setargv("DFLAGS", &argc, &argv); |