[Top][All Lists]

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

Re: [avr-gcc-list] GCC Functions

From: Kujala Matti
Subject: Re: [avr-gcc-list] GCC Functions
Date: Thu, 29 Nov 2001 15:39:54 +0200 (EET)

> Patrick Lanphier <address@hidden> wrote:
> > ..., I don't know why but the last two lines work and the
> > first three do not when compiling for the chip?
> > 
> > #avr-gcc -O0 -Wall -mmcu=at90s2313 -c demo2c.c -o demo1.o
> > #avr-gcc -o demo1.elf demo1.o
> > #avr-objcopy -O ihex demo1.elf demo1.hex
> > 
> > avr-gcc -O0 -mmcu=at90s2313 -Wall -o demo1 demo2c.c
> > avr-objcopy -O ihex demo1 demo1.hex
> Both versions are supposed to work identically (with the exception
> that the second one doesn't store demo1.o permanently, of course).

When you are compiling in the first way, are you not supposed to 
explicitly link crt1.o if you want it put into the program?
What sorcery, what spells, have brought thee here?

reply via email to

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