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

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

RE: [avr-gcc-list] code size: .text vs .data


From: Pat Deegan
Subject: RE: [avr-gcc-list] code size: .text vs .data
Date: Fri, 11 Jun 2004 13:44:34 -0400

Hello,

On Fri, 2004-06-11 at 13:32, Dave Hylands wrote:
> You need to modify your linker script. This is what defines how much
> space goes where.
> 
> What's the exact command that you used to link your program?

Well, I'm using the generic Makefile we put together to build the
program (see http://electrons.psychogenic.com/avr/linux/makefile.php). 

Using this, the final step is simply:

  avr-gcc -Wl,-Map,a.out.map -lm  -o a.out a.o b.o c.o ...

I am uncertain as to what's going on behind the scenes.


Where can I find out how to tweak the linking or do you have any
suggestions?

Thanks,
-- 
Pat Deegan
http://www.psychogenic.com/
PGP Key: http://www.keyserver.net 0x03F86A50



reply via email to

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