Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
- Subject: Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
- From: David Goldsmith <email@hidden>
- Date: Wed, 13 Jun 2007 13:41:01 -0700
Thanks for the suggestion; it didn't work, but it gave me the idea to
look for a gcc configuration file. I found that gcc is a link to
gcc-4.0, both in /usr/bin/. There's nothing in /usr/bin/ which looks
like a configuration file (for gcc or anything else for that matter).
But since I was there, I grepped MACOSX_DEPLOYMENT_TARGET and, to make a
long story short, found i686-apple-darwin8-gcc-4.0.1. "Aha!" I thought,
"that's what gcc should be pointing to," so I revised the link and, lo
and behold, it worked!
DG
Fritz Anderson wrote:
On 13 Jun 2007, at 12:33 PM, David Goldsmith wrote:
How do I do this? (Right now, ld called by gcc, is receiving a value
of 10.1 and complaining about it; I'm working around by prefixing my
gcc call with MACOSX_DEPLOYMENT_TARGET=10.4, but can't I just change
the default value somewhere?)
Have your .profile script set and export the environment variable?
— F
--
ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden