[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: darwin: mix up of .dylib and .bundle
From: |
Peter O'Gorman |
Subject: |
Re: darwin: mix up of .dylib and .bundle |
Date: |
Sun, 16 Oct 2005 21:08:46 +0900 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Macintosh/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[cutting -patches for now]
Christoph Egger wrote:
|>I think I've seen this issue with the GNU libtool that Apple shipped (is
|>shipping?),
|
|
| You mean /usr/bin/libtool ? This is a binary used by gcc.
If I meant that I'd have said so. Apple ships GNU libtool too,
/usr/bin/glibtool and /usr/bin/glibtoolize. With darwin6 they shipped a gnu
libtool that, when called with the -module flag made a file of type MH_DYLIB
instead of the expected MH_BUNDLE. With that release they changed /bin/sh to
bash from zsh and left in a hack to make glibtool work with zsh.. But this
is kinda beside the point :)
| Nonetheless, there are three different results:
|
| 1) shows how things should be.
| 2) libtool somehow tries to link in both shared and static versions
| into the same lib resulting into multiple definitions.
| 3) libtool see's the -rpath option twice...
|
Hmm, is is experimental a clean tree? Could you send me the libtool --debug
output from the failed link line (compressed somehow).
| P.S.: How about integrating libtest into libtool's testsuite?
| It might uncover bugs on many other operating systems
| (win32, linux, *bsd, solaris, aix, etc.)
If you send a patch for head, using the new testsuite and fill out the fsf
copyright assignment forms, sure :-).
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ1JCzbiDAg3OZTLPAQKkdgQAv2hlQT0HZRyzqgCWxrRJRhDIdRjs8wd1
cjtiGHIc4auJDsyOh5ez3AL+Kda7jgDkHf11gTxNOPhTRfoUPKJ0RaLAlBBMkg2k
hkuDHinOc54jnmpkDg/PsXRN6vcVBQ+Xeg6hup/61w5c+jl5L15gw25Ncj5qFpE+
qtS9GKPSlBY=
=E97S
-----END PGP SIGNATURE-----