[LLVMdev] rdynamic on Mac
Renato Golin
rengolin at systemcall.org
Mon Aug 31 10:15:53 PDT 2009
Hi all,
My example compiler is working fine on Linux, including the extern'd
functions (via -rdynamic flag on linker), but a friend on a MacOS
(Darwin) cannot find the extern'd function.
LLVM ERROR: Program used external function 'printVar' which could not
be resolved!
I've read some posts on the web indicating problems with the -rdynamic
option on Mac's GCC, but I'm not sure. What's the Mac-style for that?
cheers,
--renato
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
More information about the llvm-dev
mailing list