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

g++ arch flag between Debug and Release


  • Subject: g++ arch flag between Debug and Release
  • From: James Jackson <email@hidden>
  • Date: Thu, 19 Jul 2007 11:57:19 +0100

Hi,

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.

Regards,
James Jackson.

_______________________________________________
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: g++ arch flag between Debug and Release
      • From: Chris Espinosa <email@hidden>
    • Re: g++ arch flag between Debug and Release
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Suggestion: Watch your language and localizations with Xcode
  • Next by Date: Re: g++ arch flag between Debug and Release
  • Previous by thread: Re: Suggestion: Watch your language and localizations with Xcode
  • Next by thread: Re: g++ arch flag between Debug and Release
  • Index(es):
    • Date
    • Thread