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 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
_______________________________________________
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>)



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.