• 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
Re: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...


  • Subject: Re: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 25 Jan 2006 16:58:29 -0800

On Jan 25, 2006, at 4:16 PM, Garaffa Dave wrote:

I just subscribed to this list but since I've been using the archived search and found nothing about this I'm going to post it... I hope this isn't some kind of 'dead horse' issue and people 'hate it' when it's brought up... :)


Try this with your system.


- Launch Xcode and create a 'new cocoa application'

- Compile it (yea it builds)


Now look at the build session where you can see gory gcc details...


In that line should see something like -mtune=G5 (well I do anyway and I'm not even on a G5) and to top it off, under Project Settings -> Build it clearly reads PowerPC G4 [-mtune=G4] (so why is it building with G5?!?!?! On top of that.... If I set it to say '-mtune=G3' it doesn't seem to matter one bit... also I think other things in 'build settings' might be ignored as well but until I test I can't be sure....


Now I've checked this on my dual 1.25 G4 MDD and my PowerBook and both are doing the same thing.


Both had 2.2.1 installed but in testing on my desktop I've even done a full uninstall (running the perl script) and reinstalled 2.2 (same problem) then did and uninstall and then a reinstall of 2.2.1 (still same problem).


I've also created a 'new user' on my system (never ran Xcode - no baggage - etc) and tried it from that account... (same thing)


Could anyone else confirm this is happening to them? If not then I'm clearly going insane!! :)


This isn't happening on our systems here.  If I set Instruction Scheduling to PowerPC G4 [-mtune=G4], what I get in my build transcript is:

CompileC build/AppearanceSample.build/Release/AppearanceSample.build/Objects-normal/ppc/UDialogUtils.o /Developer/Examples/Carbon/AppearanceSample/UDialogUtils.cp normal ppc c++ com.apple.compilers.gcc.4_0
    cd /Developer/Examples/Carbon/AppearanceSample
    /usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G4 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-invalid-offsetof -mmacosx-version-min=10.4 -I/Developer/Examples/Carbon/AppearanceSample/build/AppearanceSample.build/Release/AppearanceSample.build/AppearanceSample.hmap -mdynamic-no-pic -F/Developer/Examples/Carbon/AppearanceSample/build/Release -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Frameworks -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks -I/Developer/Examples/Carbon/AppearanceSample/build/Release/include -I/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -I/Developer/Examples/Carbon/AppearanceSample/build/AppearanceSample.build/Release/AppearanceSample.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.1213/SharedPrecompiledHeaders/AppearanceSamplePrefix-bcdcxklrwnudlwepwswxjspsqqfl/AppearanceSamplePrefix.h -c /Developer/Examples/Carbon/AppearanceSample/UDialogUtils.cp -o /Developer/Examples/Carbon/AppearanceSample/build/AppearanceSample.build/Release/AppearanceSample.build/Objects-normal/ppc/UDialogUtils.o

There's a known bug where the default value in the inspector doesn't show up correctly if you have not set the build setting yourself, but that's a display issue in the UI; it doesn't affect your build.

Make sure you're looking at the target settings and not the project settings.  Target settings override project-wide settings.

Chris
 _______________________________________________
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.x strangeness mtune=G5 'stuck' and more...
      • From: Garaffa Dave <email@hidden>
References: 
 >Xcode 2.2.x strangeness mtune=G5 'stuck' and more... (From: Garaffa Dave <email@hidden>)

  • Prev by Date: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
  • Next by Date: Re: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
  • Previous by thread: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
  • Next by thread: Re: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
  • Index(es):
    • Date
    • Thread