[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] Optimize for space
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [RFC] Optimize for space |
Date: |
Tue, 2 Oct 2007 23:35:29 +0200 |
User-agent: |
Mutt/1.5.11 |
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.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)