Re: Configuring and Compiling a BSD program against 10.2 Developer on 10.3
Re: Configuring and Compiling a BSD program against 10.2 Developer on 10.3
- Subject: Re: Configuring and Compiling a BSD program against 10.2 Developer on 10.3
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 2 Dec 2004 14:27:42 -0700
On Dec 2, 2004, at 2:13 PM, Gerben Wierda wrote:
So my question, suppose I download a BSD tool and I want to
configure/make it as if I were on 10.2. Can I do that on 10.3 these
days?
Yes. This is what you do if you're using tcsh:
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv CFLAGS "-nostdinc -I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include"
setenv CPPFLAGS "-nostdinc -nostdinc++
-I/Developer/SDKs/MacOSX10.2.8.sdk/usr/include"
setenv LDFLAGS "-L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib"
./configure
make
I think that's it...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden