Hi Clemens,

Simon Marlow wrote:
Tue Jul 17 12:26:22 PDT 2007  Clemens Fruhwirth <[EMAIL PROTECTED]>
  * Add hardwire-lib-paths option and make it default for inplace invocations

This patch unconditionally adds -rpath to the linker options for in-place invocations. The MacOS linker doesn't understand this option (and has no concept of an rpath) which means that stage2 can't be linked. IIRC, this will also break Solaris as the flag is called -R there. Note also that -rpath won't help you if someone sets LD_LIBRARY_PATH as the latter usually has precedence. Perhaps using libtool might help here?

In any case, when you change things which are obviously system-dependent could you please try to make sure that they are portable at least across the major platforms. If you do not have access to some of those please ask on the mailing list. I will gladly check on MacOS.

Cheers,

Roman

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to