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 2.0 broken?



Is anybody using gcc 4.0 (XCode 2.0) to compile prebound application for Mac OS 10.2.8? It seems that it is not possible to produce reasonable code. My projects have compiled smoothly until I have moved them to XCode 2.0. Whenever I try to compile the simplest project I get at least a few of such errors:

/usr/bin/ld: warning prebinding disabled because (__TEXT segment (address = 0x90000000 size = 0x1a7000) of /usr/lib/libSystem.B.dylib overlaps with __TEXT segment (address = 0x90130000 size = 0xb9000) of /System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation

This can be easily reproduced by:
1) Create new cocoa application project
2) Set target to Mac OS X 10.2.8, style deployment
3) Enable "Prebind" build option
4) Build project

As far as I know applications for 10.2.8 should be prebound. Above error looks a bit silly to me as it implies conflict in memory addresses of system binaries. Simply - system itself cannot be prebound and any app running on top of this system cannot be prebound as well.

I did a quick lookup using "otool -h __binary__". I have compared allocation addresses and sizes for libraries and frameworks of current system (10.4) and target system (10.2.8). Is seems to me that linker is trying to link libraries from /usr/lib/ ... of current system (10.4) with frameworks from /Developer/SDKs/MacOSX10.2.8.sdk/ System/ ... (10.2.8)

Any help would be greatly appreciated.

Cheers,
Zdzislaw Losvik

_______________________________________________
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.