On Dec 27, 2005, at 1:52 PM, Martin Costabel wrote:
-Wl,-bind_at_load -flat_namespace -undefined suppress -bundle
If you want to have a two-level image (and don't get an answer from
pogma explaining how to talk to libtool in its native language),
you can replace the "-module -shared" simply by "-bundle -undefined
dynamic_lookup -bind_at_load".
For the curious.
GNU libtool, version 1.5.4 and later will notice if
MACOSX_DEPLOYMENT_TARGET is set at configure time, and, if so, will
use -undefined dynamic_lookup when linking shared libraries with
undefined symbols. This means that installed libtool scripts (/usr/
bin/glibtool, /sw/bin/glibtool) will always attempt to do this, so
you should always set MACOSX_DEPLOYMENT_TARGET to the value that gnu
libtool saw when it was configured when you use it for linking.
If there exists on the libtool line a '-no-undefined' flag, then no
flags relating to undefined symbols will be passed to the compiler
driver.
GNU libtool will behave differently should libtool-2.0 ever be
released (there will be libfoo.dylib and libfoo.X.dylib, removing a
redundant symlink, and libraries will, by default, link -
single_module). The behavior with respect to undefined symbols should
be the same for future releases though.
Hope that this helps more than confuses,
Peter
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel