[LLVMdev] Linux-x86 Compatability
Chris Lattner
sabre at nondot.org
Fri Sep 13 09:46:01 PDT 2002
> 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
#ifdef __USE_GNU
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
fix it?
Thanks again for the help!
-Chris
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-dev
mailing list