• 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: j o a r <email@hidden>
  • Date: Thu, 19 Jul 2007 13:33:34 +0200


On Jul 19, 2007, at 12:57 PM, 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.


Have you checked the build settings for both the Project and the Target?
Any particular reason you're not using the latest 2.4.1 btw.?

j o a r


_______________________________________________ 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: g++ arch flag between Debug and Release
  • Next by Date: Re: Problem using static floats
  • Previous by thread: g++ arch flag between Debug and Release
  • Next by thread: Re: g++ arch flag between Debug and Release
  • Index(es):
    • Date
    • Thread