• 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.2 precomp link warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 2.2 precomp link warning


  • Subject: Xcode 2.2 precomp link warning
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 11 Nov 2005 20:54:48 -0600

I just moved my Cocoa application and IB palette projects from Xcode 2.1 to 2.2. All projects target the 10.4u SDK and are built as universal binaries. I have Mac OS X 10.4.3

My palettes build a-ok. However, in the Development config of the app project, I receive the following link warning:

/usr/bin/ld: warning /Library/Caches/com.apple.Xcode.501/ SharedPrecompiledHeaders/Drills_Prefix-fwqjojpadsxwrxgacyvlyoodmshw/ Drills_Prefix.pch.gch.o cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)

I do not get this at all when building the Deployment config.

I've verified that all the various pre-comp related settings are identical between the build configurations. I also removed all my project's files from /Library/Caches/com.apple.Xcode.501/ SharedPrecompiledHeaders/

All builds were clean builds.

I then verified that when starting with the cleaned up SharedPrecompiledHeaders folder, rebuilding the development config does place two separate folders there (one for each architecture):

Drills_Prefix-chzpntfyligspuachignccqupqqt
Drills_Prefix-fwqjojpadsxwrxgacyvlyoodmshw

Building the deployment config also put two folders there:

Drills_Prefix-eapckbdurdbcrdfnzmtyiumsppjo
Drills_Prefix-ebwbfevlxeeilpejzjuhkmllplml


The dev folders contain these files:

Drills_Prefix.pch.gch
Drills_Prefix.pch.gch.hash-criteria
Drills_Prefix.pch.gch.o

The deploy folders contain these files:

Drills_Prefix.pch.gch
Drills_Prefix.pch.gch.hash-criteria


Finally, I compared the .gch files to ensure that each architecture produced a different file. That checked out a-ok. However, the .gch.o files were almost identical (only 1 byte was different). I would have expected the .o files to be quite a bit different. Perhaps the one byte difference is a timestamp?


Is this a bug in Xcode or perhaps bad settings on my part?


___________________________________________________________ Ricky A. Sharp mailto:email@hidden Instant Interactive(tm) http://www.instantinteractive.com

_______________________________________________
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.2 precomp link warning
      • From: Greg Hurrell <email@hidden>
    • XCode 2.2 on CD/DVD ?
      • From: Cyril Kardassevitch <email@hidden>
  • Prev by Date: 2.1->2.2 created link error: std::__ioinit
  • Next by Date: Java and Distributed Build
  • Previous by thread: Re: Quotes Removed When Project Opened And Closed
  • Next by thread: XCode 2.2 on CD/DVD ?
  • Index(es):
    • Date
    • Thread