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



I am experiencing similar issues when using xcode 2, gcc 3.3 to cross compile for 10.3.9. So far cross dev with xcode 2 has been giving me one wicked headache. Is there a solution to this? 

Ld /Users/byronwright/Projects/CFC/src/GUI/build/CFC.app/Contents/MacOS/CFC normal ppc
    cd /Users/byronwright/Projects/CFC/src/GUI
    setenv MACOSX_DEPLOYMENT_TARGET 10.3
    setenv NEXT_ROOT /Developer/SDKs/MacOSX10.3.9.sdk
    /usr/bin/gcc-3.3 -o /Users/byronwright/Projects/CFC/src/GUI/build/CFC.app/Contents/MacOS/CFC -L/Users/byronwright/Projects/CFC/src/GUI/build -L/Users/byronwright/projects/CFC/src/GUI -L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/3.3 -F/Users/byronwright/Projects/CFC/src/GUI/build -F/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks -filelist /Users/byronwright/Projects/CFC/src/GUI/build/CFC.build/CFC.build/Objects-normal/ppc/CFC.LinkFileList -framework AppKit -framework Carbon -framework Cocoa -framework CoreServices -framework QuickTime -framework QTKit -arch ppc -prebind -lxml2 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk
ld: warning NEXT_ROOT environment variable ignored because -syslibroot specified
ld: warning prebinding disabled because (__TEXT segment (address = 0x919e7000 size = 0x3a000) of /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit overlaps with __TEXT segment (address = 0x91a10000 size = 0xc000) of /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
ld: warning prebinding not disabled even though (__TEXT segment (address = 0x919e7000 size = 0x3a000) of /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit overlaps with __LINKEDIT segment (address = 0x91a1c000 size = 0x24d8) of /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI on the assumption that the stripped output will not overlap


On May 18, 2005, at 2:35 AM, Zdzislaw Losvik wrote:

I have tried to link exactly the same setup against 10.3.9. This time instead of several errors I get one, which doesn't differ from errors I was getting when I was building it against 10.2.8. How is it possible?

/usr/bin/ld: warning prebinding not disabled even though (__LINKEDIT segment (address = 0x901a7000 size = 0x56764) of /usr/lib/libSystem.B.dylib overlaps with __TEXT segment (address = 0x901c0000 size = 0xae000) of /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation on the assumption that the stripped output will not overlap



Is anybody using gcc 4.0 (XCode 2.0) to compile prebound application for Mac OS 10.2.8?



No, because it's impossible, and the fact that Xcode doesn't raise a link error when trying that is most likely a bug. You need to use GCC 3.3 when targeting versions of Mac OS X prior to 10.3.0, because GCC 4.0 links code to libmx, which wasn't bundled with the OS prior to 10.3.0.

_______________________________________________
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




 _______________________________________________
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 2.0 broken? (From: Zdzislaw Losvik <email@hidden>)
 >Re: XCode 2.0 broken? (From: Nick Zitzmann <email@hidden>)
 >Re: XCode 2.0 broken? (From: Zdzislaw Losvik <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.