realbasic-nug
[Top] [All Lists]

Re: Using Lipo

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Using Lipo
From: Aleksi Strandberg <realbasic at discosw dot net>
Date: Thu, 28 Sep 2006 18:52:06 +0300
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <3FF8F3B7-6FA9-4D31-8DBD-CD1A5480600E at discosw dot net> <B4ECC02B-7D03-41D6-9326-F0BC86A0478B at realsoftware dot com>

On 28.9.2006, at 18.06, Jonathan Johnson wrote:


On Sep 22, 2006, at 9:56 AM, Aleksi Strandberg wrote:

Hi list,

I need to create UB of two dylibs (ppc and x86)
It seems this is done with Lipo via terminal.

I've never used Terminal, could someone help with this?

Apple has a section on how to use lipo on their website here:

<http://developer.apple.com/technotes/tn2005/tn2137.html>

In short, you can do this:

1) Open Terminal.app
2) type "cd Desktop" and press return
3) type "lipo -output myUBDylib.dylib -create " (note the trailing space). Now, drag in your first file to the terminal. It will automatically escape the path as needed. Next, drag in your second file. Finally, press return.
4) On your desktop will be a UB dylib named "myUBDylib.dylib"

HTH,
Jon

Thanks for the clear instructions.
I couldn't get it to work, it says "Segmentation fault".
I checked that both dylibs are the same versions.


Aleksi
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>