Build Settings for Compiler Version and Platform
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