• 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: g++ arch flag between Debug and Release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ arch flag between Debug and Release


  • Subject: Re: g++ arch flag between Debug and Release
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 19 Jul 2007 08:32:45 -0700


On Jul 19, 2007, at 3:57 AM, James Jackson wrote:

I have a bog-standard C++ command line tool in Xcode. With debug configuration, g++ is passed the correct arch flag:


/usr/bin/g++-4.0 -bundle -arch i386 <snip>


But when I switch to Release, the incorrect arch flag is passed:


/usr/bin/g++-4.0 <snip>  -arch ppc


In the configuration setup page, the architecture is set to $(NATIVE_ARCH) in both cases.


Can anybody offer any suggestions? This is with Xcode 2.2.1 on a 2GHz Core Duo MacBook Pro running 10.4.9.


This was a bug in 2.2.1 that we fixed in 2.3.

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: 
 >g++ arch flag between Debug and Release (From: James Jackson <email@hidden>)

  • Prev by Date: Xcode and Javadoc
  • Next by Date: CodeWarrior vs XCode build
  • Previous by thread: Re: g++ arch flag between Debug and Release
  • Next by thread: crash in _CFReadBytesFromFile
  • Index(es):
    • Date
    • Thread