Mercurial > projects > ldc
comparison dmd/link.c @ 92:70d6113eeb8c trunk
[svn r96] Updated to DMD 1.023.
Regular bugfixes.
author | lindquist |
---|---|
date | Thu, 08 Nov 2007 19:13:28 +0100 |
parents | c53b6e3fe49a |
children | a2c2c3c1a73d |
comparison
equal
deleted
inserted
replaced
91:3f949c6e2e9d | 92:70d6113eeb8c |
---|---|
276 argv.push((void*)"-native"); | 276 argv.push((void*)"-native"); |
277 | 277 |
278 /* Standard libraries must go after user specified libraries | 278 /* Standard libraries must go after user specified libraries |
279 * passed with -l. | 279 * passed with -l. |
280 */ | 280 */ |
281 //argv.push((void *)"-lphobos"); // turns into /usr/lib/libphobos.a | |
282 //argv.push((void *)"-lpthread"); | |
283 //argv.push((void *)"-lm"); | |
284 | 281 |
285 std::string corelibpath = global.params.runtimeImppath; | 282 std::string corelibpath = global.params.runtimeImppath; |
286 corelibpath.append("/llvmdcore.bc"); | 283 corelibpath.append("/llvmdcore.bc"); |
287 argv.append(global.params.objfiles); | 284 argv.append(global.params.objfiles); |
288 argv.push((void *)corelibpath.c_str()); | 285 argv.push((void *)corelibpath.c_str()); |
289 | 286 |
287 //argv.push((void *)"-lphobos"); // turns into /usr/lib/libphobos.a | |
288 //argv.push((void *)"-lpthread"); | |
289 argv.push((void *)"-l=m"); | |
290 | |
290 if (!global.params.quiet) | 291 if (!global.params.quiet) |
291 { | 292 { |
292 // Print it | 293 // Print it |
293 for (i = 0; i < argv.dim; i++) | 294 for (i = 0; i < argv.dim; i++) |
294 printf("%s ", (char *)argv.data[i]); | 295 printf("%s ", (char *)argv.data[i]); |