mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Give correct command line for making a shared object
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7929 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7540565863
commit
57c6941631
@ -255,7 +255,13 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector<Function*> &Funcs,
|
||||
std::cout << "\n";
|
||||
std::cout << "The shared object was created with:\n dis -c "
|
||||
<< SafeModuleBC << " -o temporary.c\n"
|
||||
<< " gcc -shared temporary.c -o " << SharedObject << "\n";
|
||||
<< " gcc -xc temporary.c -O2 -o " << SharedObject
|
||||
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
|
||||
<< "-G" // Compile a shared library, `-G' for Sparc
|
||||
#else
|
||||
<< "-shared" // `-shared' for Linux/X86, maybe others
|
||||
#endif
|
||||
<< "\n";
|
||||
} else {
|
||||
removeFile(TestModuleBC);
|
||||
removeFile(SafeModuleBC);
|
||||
|
Loading…
Reference in New Issue
Block a user