Re: Produce working, fat binary dynamic library from command line?
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