• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XCode 2.0 broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 2.0 broken?


  • Subject: XCode 2.0 broken?
  • From: Zdzislaw Losvik <email@hidden>
  • Date: Wed, 18 May 2005 02:47:12 +0200

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: XCode 2.0 broken?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Unknown class in nib file
  • Next by Date: Re: Building Java App, can't copy all resources to proper directories
  • Previous by thread: Unknown class in nib file
  • Next by thread: Re: XCode 2.0 broken?
  • Index(es):
    • Date
    • Thread