port install gnat-gcc
Daniel J. Luke
dluke at geeklair.net
Thu Jun 18 13:06:54 PDT 2009
On Jun 18, 2009, at 5:17 AM, Boey Maun Suang wrote:
> Consequently, I can't see any relative location to which we can
> extract a GCC bootstrap, and /var/tmp is the best absolute path that
> I can think of for this purpose.
>
> Incidentally, I used otool on the executables in the current ghc
> bootstrap compiler, and they contain _absolute_ references to /opt/
> local/lib/libgmp.3.dylib, so for those who try to install MacPorts
> ghc and who have configured ${prefix} to be other than /opt/local,
> the build will either fail due to the non-existence of /opt/local/
> lib/libgmp.3.dylib, or (in accordance with the dyld(1) man page's
> description of the DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH
> variables), it will silently pick up libgmp.3.dylib in another
> location, such as /usr/local/lib, when it is run. I haven't looked
> into it, but we may find that the ghc bootstrap actually has this
> same problem, just not in such an obvious or severe form.
>
> As always, your thoughts (and those of others on the list) would be
> appreciated.
If it's just the libraries in the bootstrap compiler that are a
problem, then you could do the temp install into somewhere like $
{worksrcpath} and set DYLD_FALLBACK_LIBRARY_PATH ...
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090618/30c36dce/attachment.bin>
More information about the macports-users
mailing list