Standard C++ Includes For iPhone
Standard C++ Includes For iPhone
- Subject: Standard C++ Includes For iPhone
- From: Nick Nallick <email@hidden>
- Date: Thu, 4 Feb 2010 15:12:42 -0700
I'm trying to use GCC 4.2 for an iPhone 3.1 project which contains C++ code. It works fine building for the simulator but I can't build for the device. When I include <exception> I get an error indicating that <bits/c++config.h> can't be found.
The file /usr/include/c++/4.2.1/exception includes <bits/c++config.h>. When I build a project for x86 or the iPhone simulator the compiler seems to find the correct file within /usr/include/c++/4.2.1/i686-apple-darwin10.
When I build this for the iPhone device it apparently should be looking in /usr/include/c++/4.2.1/armv6-apple-darwin9 but it's not. Is there some sort of build setting I need to get the compiler to find this file?
Thanks,
Nick Nallick _______________________________________________
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