Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intel-specific header files missing from 10.3.9sdk ?



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.