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

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

Re: [avr-gcc-list] (Fwd) New WinAVR release.


From: E. Weddington
Subject: Re: [avr-gcc-list] (Fwd) New WinAVR release.
Date: Fri, 25 Apr 2003 15:32:33 -0600

On 25 Apr 2003 at 15:16, E. Weddington wrote:

> Eric
> 
> 
> ------- Forwarded message follows -------
> From:                 <address@hidden>
> To:                   "E. Weddington" <address@hidden>
> Subject:              New WinAVR release.
> Date sent:            Fri, 25 Apr 2003 23:12:14 +0200
> 
> 
> Hi Eric,
> i have some problems with the new WinAVR release.
> If compile a simple program like this the .text section explode up to
> 4.8 kbyte. With the old release it use a few bytes. What is that? The
> program runs correctly but what is with the trash in the hex file?
> #include <avr/io.h> Int main void { DDRA = 0xff; return(0); } Bye, Kai
> ------- End of forwarded message -------


Has to do with the new sample makefile, (*sigh*).

Remark out this line:

# Floating point printf version (requires -lm below)
LDFLAGS +=  -Wl,-u,vfprintf -lprintf_flt

to this

# Floating point printf version (requires -lm below)
#LDFLAGS +=  -Wl,-u,vfprintf -lprintf_flt

And that should solve your problem.

Eric





reply via email to

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