realbasic-nug
[Top] [All Lists]

Re: Using Lipo

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Using Lipo
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Thu, 28 Sep 2006 10:06:04 -0500
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>

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


--
Jonathan Johnson
jonj at realsoftware dot com
REAL Software, Inc.


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