Re: Leopard glibtool doesn't have -shrext option?
Re: Leopard glibtool doesn't have -shrext option?
- Subject: Re: Leopard glibtool doesn't have -shrext option?
- From: Peter O'Gorman <email@hidden>
- Date: Thu, 11 Sep 2008 10:04:19 -0500
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden