Re: Xcode lets me link a Universal static library against thin static libraries
Re: Xcode lets me link a Universal static library against thin static libraries
- Subject: Re: Xcode lets me link a Universal static library against thin static libraries
- From: Rush Manbert <email@hidden>
- Date: Sat, 01 Apr 2006 22:13:56 -0800
Rush Manbert wrote:
Chris Espinosa wrote:
On Mar 31, 2006, at 4:38 PM, Rush Manbert wrote:
Hi again,
As Bullwinkle always said about pulling a rabbit out of his hat,
"This time for SURE!" ;-)
I have a project whose only target builds a BSD static library. It
links against a bunch of other BSD static libraries. I previously
built it only for ppc. Now I want to build it as a Universal
library. I changed the Xcode project by adding the second
architecture type, but I didn't change my library search paths for
the other static libraries. This meant that I was linking my fat
static lib against thin static libs.
Xcode did not complain about this, at least not when I built the
Debug version. The build said it completed successfully.
I did not change any SDK settings, and I did not try to build the
Release version.
For most project templates, the Debug configuration sets ARCHS = $
(NATIVE_ARCH), and the Release configuration sets ARCHS = ppc i386.
So if you just built debug and not release, this is expected, and not
a bug.
If you built Release and did not get an error, it would be a bug. If
you changed Architectures in the Debug configuration to be ppc i386
and did not get an error, it would be a bug. We have no bug reports
like this at this time.
Chris
Thanks Chris. Sorry for the red herring earlier.
I changed Debug so ARCHES = ppc i386 and didn't get an error. I'll file
the bug.
Bug filed. Number 4499172.
- Rush
_______________________________________________
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