[LLVMdev] Linux-x86 Compatability
ccarter at cs.uiuc.edu
Fri Sep 13 09:34:06 PDT 2002
ISSUE: In Interpreter::getCurrentExecutablePath(), dladdr() is a
Solarisism. Luckily, getCurrentExecutablePath isn't being currently
used anywhere in lli.
ACTION: Wrap the method contents with #ifdef __sun__ ... #else return
""; #endif. If this functionality is actually desired, it would be more
portable to hack up main() to join getcwd() with basename(argv) to
find the desired pathname.
PATCH: Apply from llvm top-level directory with "patch -p0."
Casey at Carter.net
ccarter at uiuc.edu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-dev