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.2.1 precomp link warning -> still happening



On Mar 31, 2006, at 11:55 AM, Andy O'Meara wrote:


I'm using Xcode 2.2.1 on the normal 10.4 sdk and getting the following warning for only i386:

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


This issue was raised a couple months ago but unfortunately no resolution or
explanation was ever raised:


http://lists.apple.com/archives/xcode-users/2005/Nov/msg00387.html

Anyone know the explanation?

The main thing is that the precompiled header should not be linked.

Do you have your prefix file as a target member, and in the Compile Sources build phase?

Chris
_______________________________________________
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.2.1 precomp link warning -> still happening (From: "Andy O'Meara" <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.