• 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: build error with xcode 2.4 on Intel Core 2 Duo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build error with xcode 2.4 on Intel Core 2 Duo


  • Subject: Re: build error with xcode 2.4 on Intel Core 2 Duo
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 20 Sep 2006 08:23:39 -0700

On Sep 20, 2006, at 7:03 AM, Linea Tessile srl wrote:

I need to transform in Universal Binary a Cocoa application created with Xcode 1.1 and GCC 3.3 on a PowerMac G5 (Mac os x 10.3).


Well, I have built this application in Xcode 2.4 using 

1) the SDK MacOSX10.4u.sdk

2) Mac os X as Mac os Deployment Target

3) PowerPc and Intel as Architectures

4) GCC 4 as compiler


but the compilation generates the above errors in the main.m:


1) error: bad value(970) for -mtune = switch

2) error: invalid option 'cpu=970'

3) error: invalid option 'powerpc64'

4) error: invalid option 'powerpc-gpopt'


Does anybody know how resolve the problem ?


Choose Project -> Edit Project Settings, slick the Build tab, and type "mtune" into the search bubble.  If you see a build setting displayed that's in bold (it may be "Other C Flags"), edit it to remove the "-mtune=970".  Do the same with "cpu", "powerpc64", and "powerpc-gpopt", then close that inspector and choose Project -> Edit Active Target and do the same.  These settings are unnecessary in a modern Xcode version; Xcode will pass the correct and necessary values.

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

References: 
 >build error with xcode 2.4 on Intel Core 2 Duo (From: Linea Tessile srl <email@hidden>)

  • Prev by Date: build error with xcode 2.4 on Intel Core 2 Duo
  • Next by Date: Re: Build Styles corrupted?
  • Previous by thread: build error with xcode 2.4 on Intel Core 2 Duo
  • Next by thread: Linking Error: can't locate file for -lstdc++.6.0.3
  • Index(es):
    • Date
    • Thread