• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Leopard glibtool doesn't have -shrext option?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Leopard glibtool doesn't have -shrext option? (From: "Yingshen Yu" <email@hidden>)
 >Re: Leopard glibtool doesn't have -shrext option? (From: Peter O'Gorman <email@hidden>)
 >Re: Leopard glibtool doesn't have -shrext option? (From: "Yingshen Yu" <email@hidden>)

  • Prev by Date: Re: Leopard glibtool doesn't have -shrext option?
  • Next by Date: Re: AHCI Error?
  • Previous by thread: Re: Leopard glibtool doesn't have -shrext option?
  • Next by thread: Power Management / IOKit
  • Index(es):
    • Date
    • Thread