• 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
Build Settings for Compiler Version and Platform
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build Settings for Compiler Version and Platform


  • Subject: Build Settings for Compiler Version and Platform
  • From: Philip Mötteli <email@hidden>
  • Date: Wed, 12 Jul 2006 15:29:09 +0200

Hi,


I have to compile an ObjC++ program. For some reason, it gives an error for the following included files:


	#include <bits/c++config.h>
	#include <algorithm>


These files are located at the following locations:

	/usr/include/c++/4.0.0
	/usr/include/c++/4.0.0/powerpc64-apple-darwin8


So the simple solution would just be to add these paths like this to the compilers header search paths. But when the compiler version changes or I compile on another platform, e. g. Intel, these won't work anymore.
There's surely some build setting variable, that includes these values.
I looked into the "Build Settings Notes" and found the following:


	GCC_VERSION
	CURRENT_ARCH


So I added these to the header search paths like this:

	/usr/include/c++/$GCC_VERSION/$CURRENT_ARCH
	/usr/include/c++/$GCC_VERSION


Unfortunately they do not work.

Does anybody know the variables I should use or has a pointer to any information, providing a more complete listing of build variables?


Thanks Phil


_______________________________________________ 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: Build Settings for Compiler Version and Platform
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: About the "Static analysis" article on ADC
  • Next by Date: Debug an external application?
  • Previous by thread: Re: About the "Static analysis" article on ADC
  • Next by thread: Re: Build Settings for Compiler Version and Platform
  • Index(es):
    • Date
    • Thread