• 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: Produce working, fat binary dynamic library from command line?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Produce working, fat binary dynamic library from command line?


  • Subject: Re: Produce working, fat binary dynamic library from command line?
  • From: "Andrew Pinski" <email@hidden>
  • Date: Mon, 11 Jun 2007 15:45:43 -0700

On 6/11/07, mal content <email@hidden> wrote:
On 11/06/07, Andrew Pinski <email@hidden> wrote:
> On 6/11/07, mal content <email@hidden> wrote:
> > t.dylib: t.h t1.o t2.o t3.o
> >         libtool -dynamic -o t.dylib t1.o t2.o t3.o -lSystemStubs -lc
>
> Just do:
> gcc -dynamiclib -arch i386 -arch ppc  -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk   t1.o t2.o t3.o
>
> Instead of invoking libtool directly.
>
> Thanks,
> Andrew Pinski
>
Any idea what I can do about this?

Yes add "-install_name t.dylib" (with the full path to where it is going to be installed if you want).

Thanks,
Andrew Pinski
_______________________________________________
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


  • Follow-Ups:
    • Re: Produce working, fat binary dynamic library from command line?
      • From: "mal content" <email@hidden>
References: 
 >Produce working, fat binary dynamic library from command line? (From: "mal content" <email@hidden>)
 >Re: Produce working, fat binary dynamic library from command line? (From: "Andrew Pinski" <email@hidden>)
 >Re: Produce working, fat binary dynamic library from command line? (From: "mal content" <email@hidden>)

  • Prev by Date: Re: Produce working, fat binary dynamic library from command line?
  • Next by Date: Re: Produce working, fat binary dynamic library from command line?
  • Previous by thread: Re: Produce working, fat binary dynamic library from command line?
  • Next by thread: Re: Produce working, fat binary dynamic library from command line?
  • Index(es):
    • Date
    • Thread