Mailing Lists: Apple Mailing Lists

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

Xcode lets me link universal binary against thin static library



Hi all,

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?

Thanks,
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


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.