Re: wchar link problems building for jaguar
Re: wchar link problems building for jaguar
- Subject: Re: wchar link problems building for jaguar
- From: Brent Marykuca <email@hidden>
- Date: Tue, 4 Nov 2003 15:57:12 -0800
On Oct 28, 2003, at 4:50 PM, Thane Norton wrote:
We seem to have a solution for building a 10.1.5 thru 10.3 binary using
XCode and GCC 3.3. Can't claim it will work for everyone, but it got
our
stuff up and running.
I have a slightly different solution to this problem, which I posted in
another thread "10.2 deployment issues".
In a nutshell, there seems to be a problem with the way Xcode sets up
include paths when you're doing cross-development builds, such that
some important C++ headers (notably c++config.h) are read from the
Panther /usr/include tree instead of the SDK's. You can fix this by
adding the following to your target's Header Search Paths build
settings:
/usr/include/gcc/darwin/3.3/c++
/usr/include/gcc/darwin/3.3/c++/ppc-darwin /usr/include/gcc/darwin/3.3
Xcode prefixes these with the path to the SDK headers and when you
compile you'll get the right symbols for Jaguar.
Cheers,
Brent Marykuca
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.