site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Mon, 21 Mar 2005 23:04:23 +0100 Markus Weissmann <mww@opendarwin.org> wrote:
you mean something like $ gcc somestuff.c -dynamiclib -o mylib.0.0.1.dylib -current_version 0.0.1 -install_name /usr/local/mylib.dylib ?
What if you're just linking? Is the following correct? gcc -dynamiclib -current_version 0.8.1 \ -install_name /usr/local/libfoo.0.8.21.dylib \ src/f1.pic.o src/f2.pic.o -o libfoo.0.8.21.dylib ? Also I see using libtool -dynamic directly is not suitable just as using ld on Linux is not to be used directly. Is this true of creating archives as well? I read that the preferred method to create and archive was libtool -static [1]. Thanks, Mike [1] Mach-O Runtime Architecture : Building Mach-O Files : Static Archive Libraries http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORunt... -- IRC - where men are men, women are men, and the boys are FBI agents. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com