Re: Using cross-development SDKs in command line builds
Re: Using cross-development SDKs in command line builds
- Subject: Re: Using cross-development SDKs in command line builds
- From: Markus Hitter <email@hidden>
- Date: Sat, 7 May 2005 11:43:56 +0200
Am 07.05.2005 um 04:41 schrieb Bill Northcott:
Is there any way to do command line builds of GNU autoconf configured
packages on Tiger to target older versions of Darwin such as 7 or even
6, using the SDKs supplied with Xcode?
In Panther, I use this:
export MACOSX_DEPLOYMENT_TARGET=10.1
export NEXT_ROOT=/Developer/SDKs/MacOSX10.1.5.sdk
CFLAGS="-I/Developer/SDKs/MacOSX10.1.5.sdk/usr/include -O2" \
LDFLAGS="-L/Developer/SDKs/MacOSX10.1.5.sdk/usr/lib/" \
./configure
It isn't perfect as it falls back to the currently installed system
headers, but it did work several times.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden