realbasic-nug
[Top] [All Lists]

Re: Using Lipo

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Using Lipo
From: Eric Pousse <eric at adx-online dot com>
Date: Thu, 28 Sep 2006 17:27:09 +0200
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>
I use that, found on internet :

Copy the resultant src/hello programs to a single machine;
for example, into /tmp on a PowerPC-based Macintosh, with the names hello-intel and hello-ppc, respectively.
Then, use the lipo command to combine the two:
lipo -create hello-intel hello-ppc -output hello
As before, the file command can verify the file contents:
file hello
will report
hello: Mach-O fat file with 2 architectures
hello (for architecture i386):  Mach-O executable i386
hello (for architecture ppc):   Mach-O executable ppc
For more complicated projects, it may be necessary to install each configuration, and generate a list of Mach-O files (libraries and executables), and run lipo on each of them.

and that works for me with two unix executables.

Eric Pousse

PB G4 15", 1.67GHz, OSX 10.4.7, RB 5.5.5 + 2006
http://www.realcadd.com/


Le 22 sept. 06 à 16:56, Aleksi Strandberg a écrit :

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?


Regards,
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>