[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool link order problem
From: |
Peter O'Gorman |
Subject: |
Re: Libtool link order problem |
Date: |
Wed, 28 Jan 2004 22:59:32 +0900 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zachary Pincus wrote:
| Which libtool translates into the following link command:
| g++ -dynamiclib -single_module -o OUTPUT.dylib [input .o files]
| /usr/X11R6/lib/libX11.dylib /usr/X11R6/lib/libXp.dylib
| /usr/X11R6/lib/libXext.dylib /usr/X11R6/lib/libICE.dylib
| /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libXt.dylib
| /usr/X11R6/lib/libXmu.dylib -L/usr/X11R6/lib -L/sw/lib
| /sw/lib/libXm.dylib /sw/lib/libMrm.dylib /sw/lib/libUil.dylib -lz -lm
| -install_name /usr/local/lib/libhighgui-0.9.5.dylib
| -compatibility_version 6 -current_version 6.0
|
I don't see what can be done about this. When I look at fink's libXm.la I
see most of those libs in dependency_libs, which implies that they need to
come on the link line before libXm.dylib. They do.
This is not a libtool bug in my opinion libtool is behaving correctly here.
Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBQBfARLiDAg3OZTLPAQJRVAP/Qf4JfXOlGRQUbnDWiGWbAfnxAz0mXl4C
GLStpQDgsjaTz0WUy0kNYlECiCnq4oXyfNF60+hkKPX7diRYXfzXBESh+XqU8enM
lBPzawKNif0icCJcJy6bNBfYokBwfCHLsoZI0ebj5UZ/mwm6/zBy/A4vpCMI2805
MTmS1+9wlvA=
=8UNs
-----END PGP SIGNATURE-----