Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-mmacosx-version-min and MACOSX_DEPLOYMENT_TARGET



Are the gcc switch "-mmacosx-version-min" and the env var
"MACOSX_DEPLOYMENT_TARGET" equivalent in functionality?  E.g. is this:

gcc-4.0 -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk -o test test.c

equivalent to

MACOSX_DEPLOYMENT_TARGET=10.3 gcc-4.0 -isysroot /Developer/SDKs/MacOSX10.3.9
.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk -o test test.c

?

(assuming that last command is in a makefile)

-Conrad

-- 
Beware before - Beware after.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.