Re: Leopard glibtool doesn't have -shrext option?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.14 (X11/20080501) Yingshen Yu wrote:
Thank you Peter, I sent a report to that email address. and after reading the manual again I found in my case, I should put the -shrext option after the --mode option, libtool could not recognize it if it was put before the --mode option.
After the compiler, with the rest of your linker flags, e.g. to create a loadable bundle named 'foo' with no extension, do this: % glibtool --mode=compile --tag=CC gcc -c -o foo.lo foo.c % glibtool --mode=link --tag=CC gcc -o foo.la -module -avoid-version -shrext '' foo.lo -rpath /doesnt/matter Peter -- Peter O'Gorman http://pogma.com _______________________________________________ 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
participants (1)
-
Peter O'Gorman