[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] size of hex file after compiling
From: |
Ned Konz |
Subject: |
Re: [avr-gcc-list] size of hex file after compiling |
Date: |
Fri, 8 Oct 2004 15:35:35 -0700 |
User-agent: |
KMail/1.7 |
On Thursday 07 October 2004 11:24 pm, yann wrote:
> I am doing a project (embedding a chess engine into an avr board) but I am
> facing a size issue : my c file is about 60Ko, and the hex file I get with
> size optimization in the makefile (minimal printf and scanf version, OPT=s,
> ...) is also about 60Ko. I was however told that it should be about twice
> as small. I am using the new version of winavr : 20040720. I do not know
> why my hex file is so big. Anyone has an idea ?
Have you looked at your map file?
Remember too that the hex file is over 200% of the size of the actual code,
because each byte is stored as two characters.
--
Ned Konz
http://bike-nomad.com