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:15:24 -0700
Delivered-to: email@hidden
Delivered-to: email@hidden
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G1V7ry1BTKyY5T5n2r2l6XArgnwrkZI989bmPyk4ooLTrkVCsCrKRd0fBUkeNzb4C5OkNkZaXqZ2D843SV7CQj65k391DYo/knLu5OTsV9SN5KwMfl67IWzh3yN6sChosZGfJzwStXOmrXfgnavyeHADSgt3SLghy8UfdKB1rlI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IEOQHIAhYeLp/FaojK4Bk+AOKUjlvceU4TOzRDajaUFK0mFmt75KUbnfdsHpmfAuTr++fDdbB0tPdk8++qqAnOqQOH8shfCkSw0TpZEvOES37++TmL7my7H6xuGT8JdYmJtv0WFC8qeLzD1tAm6QThr9rMFqt8r8ySK6t9cA49g=
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
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.