• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Peter O'Gorman <email@hidden>
  • Date: Wed, 13 Jun 2007 13:44:46 -0700


On Jun 13, 2007, at 11:26 AM, 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?

Hi,
use -mmacosx-version-min=10.4 in CFLAGS and - Wl,macosx_version_min=10.4 in LDFLAGS etc to get the same effect. There was a recent commit to gcc to change the default to the current system version, but you won't see that on 10.4...


I think MACOSX_DEPLOYMENT_TARGET is deprecated.

Peter
--
Peter O'Gorman
http://pogma.com


_______________________________________________ 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
  • Follow-Ups:
    • Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
      • From: Chris Hanson <email@hidden>
References: 
 >[SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4 (From: David Goldsmith <email@hidden>)
 >Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4 (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
  • Next by Date: Re: Compiling 64-bit
  • Previous by thread: Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
  • Next by thread: Re: [SOT: command line, not Xcode] Setting MACOSX_DEPLOYMENT_TARGET default to 10.4
  • Index(es):
    • Date
    • Thread