• 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: parag vibhute <email@hidden>
  • Date: Wed, 19 Dec 2007 12:21:55 +0530


Do the following stuff:

In leopard, MacOSXSDK for 10.3 is not get installed by default. This is necessary to build the application for 10.3 because 10.3 requires to have GCC 3.3 build application. I think you have not installed SDK for 10.3, because of which GCC 3.3 is absent on your system.

So just install it from leopard cd. Don't need to change any flags.

Thanks,
Palav


On 19-Dec-07, at 12:15 PM, Peter O'Gorman wrote:

[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:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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: Peter O'Gorman <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>)
 >Re: C runtime link error under Leopard (From: Peter O'Gorman <email@hidden>)

  • Prev by Date: Re: C runtime link error under Leopard
  • 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