develooper Front page | perl.perl5.porters | Postings from February 2003

Re: -Os for Darwin why?

Thread Previous | Thread Next
From:
A . Bergman
Date:
February 18, 2003 14:41
Subject:
Re: -Os for Darwin why?
Message ID:
1B98F19A-4392-11D7-9EF6-003065D64CBE@nanisky.com

On tisdag, feb 18, 2003, at 20:37 Europe/Stockholm, schwern@pobox.com 
wrote:

> On Tue, Feb 18, 2003 at 07:41:03PM +0100, Kay Roepke wrote:
>> On Tuesday, February 18, 2003, at 05:08  PM, Wilfredo Sánchez wrote:
>>
>>>   Does the pre-6.x compiler support -Os?  My understanding was that
>>> it's a recent feature.
>>
>> It certainly does, since thats a gcc feature. Nonetheless it appears 
>> to
>> be suboptimal for the 2.95.x releases (at least on PPC I guess).
>> As I mentioned earlier, the release notes for (Apple's) gcc 3.x 
>> mention
>> great improvements of -Os.
>
> Ahh, I thought it was related to the gcc version.  If so, the hint 
> should
> be tied to the gcc version.  You can update gcc without updating the
> whole OS and you could conceivably even downgrade if gcc went through
> one of its fits of instability again.
>
> So if the logic is "we want -Os with 3.x and -O3 with anything else"
> it should be something like the patch below (stealing liberally from
> hints/linux.sh).
>

Thanks applied as 18746

Arthur


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About