[LLVMdev] rdynamic on Mac

Albert Graef Dr.Graef at t-online.de
Mon Aug 31 12:20:26 PDT 2009


Renato Golin wrote:
> 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?

-rdynamic doesn't exist on OSX, nor should it be needed. Just make sure
that you do *not* strip the executable (i.e., avoid strip, install -s,
etc.), IIRC that's needed to make dlopening the executable work on OSX
(some versions at least).

HTH,
Albert

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag



More information about the llvm-dev mailing list