diff gen/linker.cpp @ 325:3c8c58c24aa8 trunk

[svn r346] Fixed #55 - llvmdc can link as fast as dmd now! Made runtime to compile to native by default. Changed linker.cpp to link in native runtime library. This change requires a runtime rebuild as well as a new symbolic link in lib/ to tango/lib/libtango-base-llvmdc-native.a.
author ChristianK
date Thu, 10 Jul 2008 19:38:34 +0200
parents 0baca2feb554
children 6788e98ec1cd
line wrap: on
line diff
--- a/gen/linker.cpp	Thu Jul 10 00:13:09 2008 +0200
+++ b/gen/linker.cpp	Thu Jul 10 19:38:34 2008 +0200
@@ -150,7 +150,6 @@
     }
 
     // default libs
-    args.push_back("-ltango-base-c-llvmdc");
     args.push_back("-lpthread");
     args.push_back("-ldl");
     args.push_back("-lm");
@@ -167,7 +166,7 @@
     std::string runtime_path(global.params.runtimePath);
     if (*runtime_path.rbegin() != '/')
         runtime_path.append("/");
-    runtime_path.append("libtango-base-llvmdc.a");
+    runtime_path.append("libtango-base-llvmdc-native.a");
     args.push_back(runtime_path.c_str());
 
     // print link command?