• 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: C runtime link error under Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C runtime link error under Leopard


  • Subject: Re: C runtime link error under Leopard
  • From: Peter O'Gorman <email@hidden>
  • Date: Wed, 19 Dec 2007 00:45:56 -0600

[adding back the list]

Edward de Jong wrote:
> actually I want to be able to run on 10.3 too, so I would add to the GCC
> line:
>
> --mmacosx_version_min=10.3

(one dash)

>
> And this will magically select the right Run Time system for GCC? Or do
> go back to the -Wl,-sysroot,/Developers/SDKs/MacOSX10.5.sdk/  option.
> not clear about which options are needed for what.
>
> thanks for the help

The compiler flag is -isysroot. If using the compiler driver for linking
you do not need to have -Wl,syslibroot, the compiler will do the right
thing.

I would do:
'-mmacosx_version_min=10.3 -isysroot /Developer/SDKs/MacOSX10.3.9.sdk'

Which will ensure that your product will work on 10.3.9 and later, but
will limit you to features available in 10.3.9.

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: C runtime link error under Leopard
      • From: parag vibhute <email@hidden>
References: 
 >C runtime link error under Leopard (From: Edward de Jong <email@hidden>)
 >Re: C runtime link error under Leopard (From: Peter O'Gorman <email@hidden>)

  • Prev by Date: Re: Custom View refuses to pop up for editing in IB 3.0
  • Next by Date: Re: C runtime link error under Leopard
  • Previous by thread: Re: C runtime link error under Leopard
  • Next by thread: Re: C runtime link error under Leopard
  • Index(es):
    • Date
    • Thread