-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/15/11 10:11 AM, Peter O'Gorman wrote: > On 09/15/2011 08:39 AM, Jean-François Mertens wrote: > >> >> PS: and as an aside, it is also not needed to mkdir tmp and ar >> -x, if you use -all_load libarpack.a > > Try not to use -all_load on 10.6 and later, there is a method to > load all members of selected archives there -> -force_load. > > e.g. gcc -dynamiclib -o foo.dylib -lbar -lbaz -all_load > /path/to/libX.a will load all members of libX.a, and if libbar and > libbaz happen to be static archives then all members of those libs > also, and all members of any other archive that gets added by the > compiler before calling the linker. > > gcc -dynamiclib -o foo.dylib -lbar -lbaz > -Wl,-force_load,/path/to/libX.a, on the other hand, will only load > all members of libX.a. > > ar x is somewhat safer in general if you want to run it on 10.5, > but has its own issues with debug information being incorrect in > the output. > > Peter
Thanks! I'll try to whip up something that works at least close to right on all of our supported platforms. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5yDjgACgkQB8UpO3rKjQ/YbwCdF+gymBDAQWPdgeSR2reuAJgU pzMAoJz6WtK0YM6P0L+VKADmWhDwJlep =QMlT -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel