Skip navigation.
 
mlRe: Configuring and Compiling a BSD program against 10.2 Developer on 10.3
FROM : Nick Zitzmann
DATE : Thu Dec 02 22:27:42 2004

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/>

Related mailsAuthorDate
mlConfiguring and Compiling a BSD program against 10.2 Developer on 10.3 Gerben Wierda Dec 2, 22:13
mlRe: Configuring and Compiling a BSD program against 10.2 Developer on 10.3 Nick Zitzmann Dec 2, 22:27
mlRe: Configuring and Compiling a BSD program against 10.2 Developer on 10.3 Gerben Wierda Dec 2, 23:55
mlRe: Configuring and Compiling a BSD program against 10.2 Developer on 10.3 Nick Zitzmann Dec 3, 00:17