Re: [2.2] Trying to setup cross-development in make based build system...
Re: [2.2] Trying to setup cross-development in make based build system...
- Subject: Re: [2.2] Trying to setup cross-development in make based build system...
- From: Shawn Erickson <email@hidden>
- Date: Mon, 14 Nov 2005 11:47:11 -0800
On Nov 14, 2005, at 11:39 AM, Shawn Erickson wrote:
I am attempting to modify an existing make based build system to
support Mac OS X and want to add in cross-development checks since
many of the developers (and the build system) are using Xcode 2.2
on Mac OS 10.4.3 but we need to target 10.3 and later. Additionally
we have to use GCC 3.3 because of some internal dependencies.
When trying to build Mac OS X versions of our core libraries things
work fine unless I attempt to add in cross-development settings to
help catch dependency issues. The following is an example of the
type of failure I am seeing (always so far down in cmath).
So my question is what am I doing wrong in defining cross-
development for the 10.3.9 sdk (yes it exists on the system)?
Or at least what to check on...
When using cross-deployment should I see "/usr/include/blah..." in
compiler output or "/Developer/SDKs/MacOSX10.3.9/usr/include/blah..."?
Thanks,
-Shawn
---------
Example compile command (returns inserted to make email easier to
read)
(the following should be set in the environment before the command,
still not 100% sure...)
MACOSX_DEPLOYMENT_TARGET 10.3
NEXT_ROOT /Developer/SDKs/MacOSX10.3.9.sdk (<- not sure if this
is needed)
g++-3.3 ..lots of -I...
-isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/
darwin/3.3
-isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include
Note if I knock out "-isystem ${MACSDK}/usr/include/gcc/darwin/3.3 -
isystem ${MACSDK}/usr/include" then things compile just fine.
-Shawn
_______________________________________________
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