Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 11/06/07, Andrew Pinski <email@hidden> wrote:
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).

Excellent, thanks!

MC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to 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>)
 >Re: Produce working, fat binary dynamic library from command line? (From: "Andrew Pinski" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.