comparison gen/main.cpp @ 1527:f19adff18813

A couple of ldc2 tweaks now druntime compiles.
author Robert Clipsham <robert@octarineparrot.com>
date Thu, 09 Jul 2009 12:36:08 +0100
parents b265fb6ce15b
children c88b16d4a13c
comparison
equal deleted inserted replaced
1526:54b3c1394d62 1527:f19adff18813
316 global.params.linkswitches->push(arg); 316 global.params.linkswitches->push(arg);
317 } 317 }
318 } 318 }
319 else if (!noDefaultLib) 319 else if (!noDefaultLib)
320 { 320 {
321 #if !DMDV2 321 #if DMDV2
322 global.params.linkswitches->push(mem.strdup("-ldruntime-ldc"));
323 #else
322 global.params.linkswitches->push(mem.strdup("-lldc-runtime")); 324 global.params.linkswitches->push(mem.strdup("-lldc-runtime"));
323 global.params.linkswitches->push(mem.strdup("-ltango-cc-tango")); 325 global.params.linkswitches->push(mem.strdup("-ltango-cc-tango"));
324 global.params.linkswitches->push(mem.strdup("-ltango-gc-basic")); 326 global.params.linkswitches->push(mem.strdup("-ltango-gc-basic"));
325 // pass the runtime again to resolve issues 327 // pass the runtime again to resolve issues
326 // with linking order 328 // with linking order