Re: Linking to third-party Frameworks and dylibs from a plug-in
Re: Linking to third-party Frameworks and dylibs from a plug-in
- Subject: Re: Linking to third-party Frameworks and dylibs from a plug-in
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 18 Mar 2008 21:29:25 +0100
Le 18 mars 08 à 21:21, Graham J Lee a écrit :
On 18 Mar 2008, at 20:19, Dan Korn wrote:
On Mar 18, 2008, at 3:02 PM, Jean-Daniel Dupas wrote:
And what it does if you run it as a PPC executabe ?
"arch -ppc install_name_tool -id .... " etc.
I get this:
>arch -ppc install_name_tool
*error: arch takes no arguments
Can you really use arch that way? The man page doesn't mention
anything about passing it arguments or using it to modify other
commands. It just says, "The arch command displays the machine's
architecture type."
That arch behaviour seems to be 10.5+ only. You could use lipo to
extract the PPC portion of the binary which then (of course) has to
be run through Rosetta on Intel boxen.
Thanks,
Graham.
Yep, I didn't realise Dan where working on 10.4.
Anyway, on Tiger, you can also force an executable to launch using
rosetta without lipo:
/usr/libexec/oah/translate /Developer/usr/bin/install_name_tool args
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden