Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
- Subject: Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
- From: Mario Emmenlauer <email@hidden>
- Date: Mon, 05 Oct 2009 10:24:42 +0200
Hi Joel,
Joel Reymont wrote:
>
> On Oct 5, 2009, at 8:25 AM, Mario Emmenlauer wrote:
>
>> The reason I'm asking is that on Linux I could _never_ compile on a
>> newer system than the target system unless going completely static with
>> the runtime, so I'm a bit prejudiced against it. Is it really safe on
>> MacOS?
>
> Why ask? Why not try and see what happens?
>
quoting myself:
Mario Emmenlauer wrote:
[...] My application
starts on 10.5 when using the 10.5 SDK, but is there something I should
take special care of? Is using -shared-libgcc discouraged?
I did try, and it works. But you are probably aware that one can not
proof a theory by example:( I guess our customers would not appreciate
it when we made quarterly releases that crashes on some percentage of
their Macs, even if a single trial worked for me:-)
But its nevertheless a matter of curiosity, meaning: On Linux, its
possible to compile on a newer system than the target, as long as
the linking is done completely static. The problem there is, that
linking against the runtime statically is discouraged, everything else
could work. Now I'm wondering what about libgcc, is it discouraged too?
And if so, can I make gcc-4.2 link against libgcc-4.0? If not, why
not?
If you (or anyone) could clarify, I would appreciate any insight!
Cheers,
Mario
--
Dipl. Inf. Mario Emmenlauer Cell: +49-(0)176-23463809
Bitplane AG Office: +41-(0)44-430-1106
Badenerstrasse 682 Fax: +41-(0)44-430-1101
CH-8048 Zürich mailto :mario * emmenlauer.de
Zürich http://www.marssoft.de / http://www.xuvtools.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden