Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode lets me link a Universal static library against thin static libraries



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.

- Rush
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Xcode lets me link a Universal static library against thin static libraries (From: Rush Manbert <email@hidden>)
 >Re: Xcode lets me link a Universal static library against thin static libraries (From: Chris Espinosa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.