Re: intel-specific header files missing from 10.3.9sdk ?
Re: intel-specific header files missing from 10.3.9sdk ?
- Subject: Re: intel-specific header files missing from 10.3.9sdk ?
- From: Ladd Van Tol <email@hidden>
- Date: Mon, 15 May 2006 18:56:25 -0700
There is no 10.3.9 SDK that supports Intel, as the Intel machines
shipped with 10.4.x.
To do what you want, you'll want to create per-architecture build
settings, per the Apple documentation:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/UniversalBinaries/chapter_4_section_1.html
Since you're using GCC 4.0 on both sides, you can get away with just
setting the SDKROOT_* and MACOSX_DEPLOYMENT_TARGET_* variables for
the two architectures.
Hope this helps,
Ladd
On May 15, 2006, at 6:47 PM, Rua Haszard Morris wrote:
Some of my Xcode projects do not build in Release configuration
because header files (for example c++config.h) can't be found. All
projects target 10.3.9 (and using the 10.3.9 sdk) and use gcc 4.0.
The Debug configuration builds successfully, and the Release
configuration builds if ARCHS is set to "ppc". But if an i386 build
is attempted, errors are generated starting with not being able to
find c++config.h (included in <string>).
After some investigation I found that this file is present in the
10.3.9 sdk in a "powerpc-apple-darwin" subfolder, and there is no
matching intel counterpart, explaining why the i386 build wasn't
able to find the file.
Looking at 10.4u sdk I notice that there are "c++config.h" files in
"i686-apple-darwin8" and "powerpc-apple-darwin8" (and also
"powerpc64-apple-darwin8" ). Should there be a i686 folder in the
10.3.9 sdk? Or is what I am trying to do (target 10.3.9 for intel
and ppc using gcc 4.0) not supported?
I have tried uninstalling and reinstalling Developer Tools, in case
there was a problem with my install. Also I have experimented with
targeting 10.4, which does workaround the "c++config.h" issue, but
introduces many more issues given that our code currently targets
10.3.9.
Any suggestions?
Is anybody out there on the list targeting 10.3.9 (intel + ppc)
using gcc 4.0? Is it possible to build a universal binary that
targets 10.3.9; should I be using separate targets for the intel
and powerpc builds?
Thanks,
Rua HM._______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40criticalpath.com
This email sent to email@hidden
_______________________________________________
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