[Top][All Lists]
[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/
- [avr-gcc-list] Bizarre string problem, part 3, André - BOL, 2004/09/08
- Re: [avr-gcc-list] Bizarre string problem, part 3, Eric Fu, 2004/09/08
- Re: [avr-gcc-list] Bizarre string problem, part 3, Ian Caddy, 2004/09/08
- Re: [avr-gcc-list] Bizarre string problem, part 3, Richard Urwin, 2004/09/09
- Re: [avr-gcc-list] Bizarre string problem, part 3, Ian Caddy, 2004/09/09
- Re: [avr-gcc-list] Bizarre string problem, part 3, Joerg Wunsch, 2004/09/09
- RE: [avr-gcc-list] Bizarre string problem, part 3,
Dave Hylands <=