Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
- Subject: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
- From: Mario Emmenlauer <email@hidden>
- Date: Sun, 04 Oct 2009 12:40:03 +0200
Hi,
we would like to move our development to 10.6 Snow Leopard, and use
gcc-4.2, while keeping target MacOS 10.5 Leopard. Is it a problem to
run an application compiled with gcc-4.2 on Leopard? I'm thinking
especially about gcc's libraries, and flags like -shared-libgcc (we
compile not from XCode, but from the command line).
I am aware of setting
export MACOSX_DEPLOYMENT_TARGET="10.5"
CFLAGS+="-mmacosx-version-min=10.5"
CFLAGS+="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
but will that help against gcc linking its own (newer) libraries?
Whats the recommended settings for targeting 10.5 from Snow Leopards
command line? Or would you rather advise me to stick with Leopard
as the development OS?
Thanks for any insight,
Mario Emmenlauer
_______________________________________________
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