Re: Xcode lets me link universal binary against thin static library
Re: Xcode lets me link universal binary against thin static library
- Subject: Re: Xcode lets me link universal binary against thin static library
- From: Chris Espinosa <email@hidden>
- Date: Fri, 31 Mar 2006 16:14:42 -0800
On Mar 31, 2006, at 3:33 PM, Rush Manbert wrote: I started changing my projects to build universal libraries and binaries and the first thing I tested was whether I could link universal against a thin static library. I hoped that this would fail, because it's eventually going to fail at runtime. (Let's say I build the universal on my Intel box, so that it only ends up being correctly linked for the i386 architecture. Then I run the "universal" binary on my ppc. Since there's no valid ppc executable inside the universal binary it should fail. If I did it the other way around, I might be "saved" by Rosetta.) What I found was that the build appeared to succeed.
I have two questions: 1) Is there any reason that this isn't a bug? 2) Has anyone filed a bug on this?
It depends on how far you got after you started changing your projects to build universal. Did you get to a) using the 10.4u SDK, b) setting the Architectures to ppc i386, and c) building a Release build? Because linking a Universal binary against a thin static lib should have failed under those circumstances.
Could you please post the part of the build transcript where linking takes place?
Chris |
_______________________________________________
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