Re: Produce working, fat binary dynamic library from command line?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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=RpNE4EYYqln1vhIiHF18xpzad8GTHg4zJhZghcpGYl71nHLEF6rINso+rMD/UXshxCMcWzEAw5vO4IO8t7CJbg/WwpJ2+IJw3daoSfUBBwaYF9KY6koMP2MSvABFtFkq8VCcDucykwJX/LGTRfXR+TvBUFTIyvSNq+OP0atThW0= 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=GnBy8JHCVYaJ/8/y0WgR8tLoX4BHo4lFtG9qVWhSa6PzKvSgYuvaW3BK+T/JxiJvWzLED5OVBi0mjQ20hykHO/4Y1/O9Sk15hhU5h7t9fSGwn8ebfhV1Yw5RyEowQ89euMnyw3cccrGwdk5cDEScXWp/JP3FOzZoWgbZBY8t4Q8= On 11/06/07, Andrew Pinski <pinskia@gmail.com> wrote:
On 6/11/07, mal content <artifact.one@googlemail.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 6/11/07, mal content <artifact.one@googlemail.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Pinski