[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.
This commit is contained in:
Christian Kamm
2008-07-10 19:38:34 +02:00
parent 9c28c0263a
commit 6a45ce2474
2 changed files with 25 additions and 4 deletions
+1 -2
View File
@@ -150,7 +150,6 @@ int linkExecutable(const char* argv0)
}
// 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 @@ int linkExecutable(const char* argv0)
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?