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