mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Do not link in runtime library anymore, assume that user manually links in
libraries. Code should be generalized to allow lli to take -lc -lm arguments in the future (todo) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -161,6 +161,7 @@ void Interpreter::loadModule(const string &Filename) {
|
|||||||
}
|
}
|
||||||
CW.setModule(CurMod); // Update Writer
|
CW.setModule(CurMod); // Update Writer
|
||||||
|
|
||||||
|
#if 0
|
||||||
string RuntimeLib = getCurrentExecutablePath();
|
string RuntimeLib = getCurrentExecutablePath();
|
||||||
if (!RuntimeLib.empty()) RuntimeLib += "/";
|
if (!RuntimeLib.empty()) RuntimeLib += "/";
|
||||||
RuntimeLib += "RuntimeLib.bc";
|
RuntimeLib += "RuntimeLib.bc";
|
||||||
@ -173,6 +174,7 @@ void Interpreter::loadModule(const string &Filename) {
|
|||||||
std::cerr << "Error loading runtime library '"+RuntimeLib+"': "
|
std::cerr << "Error loading runtime library '"+RuntimeLib+"': "
|
||||||
<< ErrorMsg << "\n";
|
<< ErrorMsg << "\n";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user