avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] compiler improvments


From: Terry Porter
Subject: Re: [avr-gcc-list] compiler improvments
Date: Mon, 5 Jan 2004 20:14:14 +1100

On Mon, 5 Jan 2004 10:36:49 +0200 
Asko Kauppi <address@hidden> wrote:

> 
> Also compilation speed could be enhanced?   *just a wish*
> 
> I don't understand what takes so long for avr-gcc, compiling just a few kB's
> of code.

???
I takes me 2.72 seconds to compile 27K of source with Avr-Gcc under Linux 
(2.5gig heavily loaded P4)

make[1]: Entering directory `/home/tp-extra/test'
avr-gcc -mmcu=atmega8 -Wall -o io_map.o -c io_map.c
avr-gcc -mmcu=atmega8 -Wall -o int.o -c int.c
avr-gcc -mmcu=atmega8 -Wall -o unix_sleep.o -c unix_sleep.c
avr-gcc -mmcu=atmega8 -Wall -o uart.o -c uart.c
avr-gcc -mmcu=atmega8 -Wall -o lcd.o -c lcd.c
avr-gcc -mmcu=atmega8 -Wall -o adc.o -c adc.c
avr-gcc -mmcu=atmega8 -Wall -o ac_icu.o -c ac_icu.c
avr-gcc -mmcu=atmega8 -Wall -o main.o -c main.c
avr-gcc -mmcu=atmega8 -Wall -o target.out -Wl,-Map,main.map io_map.o int.o 
unix_sleep.o uart.o lcd.o adc.o ac_icu.o main.o
avr-objcopy -O ihex target.out target.hex
make[1]: Leaving directory `/home/tp-extra/test'

real    0m2.752s

...........

> 
> -----Original Message-----
> From: Neil Johnson [mailto:address@hidden
> Sent: 4. tammikuuta 2004 19:58
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [avr-gcc-list] compiler improvments
> 
> 
> Andy,
> 
> There are plenty of free benchmarks out there that should help you
> identify profitable areas for prodding.
> 
> Examples:
>       MediaBench
>       MiBench
> 
> Google will find them.  SPEC and EEMBC are not free though.
> 
> As always, details would be of interest to the list!
> 
> Cheers,
> Neil
> 
> --
> Neil Johnson :: Computer Laboratory :: University of Cambridge ::
> http://www.njohnson.co.uk          http://www.cl.cam.ac.uk/~nej22
> ----  IEE Cambridge Branch: http://www.iee-cambridge.org.uk  ----
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
> ###########################################
> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
> 
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
> 


-- 
Kind Regards
Terry
* See my Gnu/Linux EDA webpage at : http://milkstone.d2.net.au/             
* Free Software provided by GNU; 
http://www.gnu.org/philosophy/free-software-for-freedom.html 


reply via email to

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