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

Re: -Os for Darwin why?

Thread Previous | Thread Next
A . Bergman
February 18, 2003 14:41
Re: -Os for Darwin why?
Message ID:

On tisdag, feb 18, 2003, at 20:37 Europe/Stockholm, 

> 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/

Thanks applied as 18746


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About