mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Fixes to compile with GCC 3.2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
+4
-4
@@ -51,17 +51,17 @@ int main(int argc, char** argv) {
|
||||
" llvm interpreter & dynamic compiler\n");
|
||||
|
||||
// Load the bytecode...
|
||||
string ErrorMsg;
|
||||
std::string ErrorMsg;
|
||||
Module *M = ParseBytecodeFile(InputFile, &ErrorMsg);
|
||||
if (M == 0) {
|
||||
cout << "Error parsing '" << InputFile << "': "
|
||||
<< ErrorMsg << "\n";
|
||||
std::cout << "Error parsing '" << InputFile << "': "
|
||||
<< ErrorMsg << "\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Link in the runtime library for LLI...
|
||||
string RuntimeLib = getCurrentExecutablePath();
|
||||
std::string RuntimeLib = getCurrentExecutablePath();
|
||||
if (!RuntimeLib.empty()) RuntimeLib += "/";
|
||||
RuntimeLib += "RuntimeLib.bc";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user