avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] [RFC] Optimize for space


From: Eric Weddington
Subject: RE: [avr-libc-dev] [RFC] Optimize for space
Date: Tue, 02 Oct 2007 16:26:40 -0600


> -----Original Message-----
> From: Joerg Wunsch [mailto:address@hidden
> Sent: Tuesday, October 02, 2007 3:35 PM
> To: 'avr-libc-dev'
> Cc: Eric Weddington
> Subject: Re: [avr-libc-dev] [RFC] Optimize for space
>
> As Eric Weddington wrote:
>
> > Admittedly, no, I haven't done those comparisons. Both CFLAGS_SPACE
> > and CFLAGS_SPEED use -Os, but CFLAGS_SPACE also adds
> > -mcall-prologues, so that is the only difference between the
> > two. Using -mcall-prologues is useful and will reduce code size as
> > the application grows over some trivially small size.
>
> Ah, OK.  I wonder whether call prologues will still produce debuggable
> code, but most users probably wouldn't care as they don't have the
> library source code around anyway.

Agreed.

So, no other objections?

Eric






reply via email to

[Prev in Thread] Current Thread [Next in Thread]