Re: Xcode project with arch-specific .a files
Re: Xcode project with arch-specific .a files
- Subject: Re: Xcode project with arch-specific .a files
- From: Jim Ingham <email@hidden>
- Date: Wed, 15 Feb 2006 11:48:54 -0800
You could also just use "lipo" to stick the .a files together, and
then the linker will find the correct architecture from the
universal .a file.
Jim
On Feb 15, 2006, at 11:36 AM, Jeffrey Johnson wrote:
Hello,
I have .a's provided to me from an outside source to include in my
Xcode project. I'm able to drag the .a files into the XCode project
and everything just works, but now, with the two architectures, I
have two directories of .a files with the same file names.
How do I get Xcode to to link the appropriate .a file with the
appropriate archictecture and end up with a properly constructed
universal binary? in the UI there are checkboxes to assign a file
to a given target, but an architecture is a configuration setting.
Could I pull the .a's out of the Xcode file listing entirely and
create a OTHER_LDFLAGS_i386 entry like "-L/path_to_my_intel_libs/ -
lfoo" and OTHER_LDFLAGS_ppc = "-L/path_to_my_ppc_libs/ -lfoo" ?
Should this work?
Thanks
Jeffrey Johnson
Macintosh Development
Wavefunction, Inc.
_______________________________________________
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
_______________________________________________
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