[LLVMdev] Linux-x86 Compatability
ccarter at cs.uiuc.edu
Fri Sep 13 10:10:01 PDT 2002
Chris Lattner wrote:
>>ISSUE: In Interpreter::getCurrentExecutablePath(), dladdr() is a
>>Solarisism. Luckily, getCurrentExecutablePath isn't being currently
>>used anywhere in lli.
>It looks like under my linux box, the dladdr prototype is wrapped with a
>option... If so, perhaps the write patch is to add -DGNU-SOURCES (or
>whatever that option is) to the makefiles? Can you verify that this would
>Thanks again for the help!
Ooops. My mistake - you are correct. My other patch that #defines
_GNU_SOURCE in tools/lli fixes this issue also. So as long as you apply
that patch, you cam simply discard this one.
Casey at Carter.net
ccarter at uiuc.edu
More information about the llvm-dev