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

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

RE: [avr-gcc-list] Bizarre string problem, part 3


From: Dave Hylands
Subject: RE: [avr-gcc-list] Bizarre string problem, part 3
Date: Thu, 9 Sep 2004 10:49:14 -0700

Hi Joerg,

> André - BOL <address@hidden> wrote:
> 
> > avr-gcc -g -mmcu=atmega32 -Wall -o t.o t.c 
> > avr-objcopy -j .text -O ihex t.o t.hex
> 
> First, you don't link your stuff at all, you're trying to feed a
> relocatable object file into your MCU.  That doesn't work.

Just a nit, but since he's running avr-gcc without the -c option, he is in fact 
linking. Calling the output t.o is misleading, and I would be inclined to call 
it something like t.elf.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/ 



reply via email to

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