avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Atmega163 crtm163.o


From: Peter Johansson
Subject: Re: [avr-libc-dev] Atmega163 crtm163.o
Date: Mon, 15 Sep 2003 20:51:08 +0200 (CEST)

On Mon, 15 Sep 2003, E. Weddington wrote:

> > On Mon, 15 Sep 2003, E. Weddington wrote:
> >
> > > > Hi
> > > >
> > > > Got problems building avr-libc-0.99.90.20030908 and
> other
> > > versions.
> > > > atmel/lib/gcc-lib/avr/3.3.1/avr5/crtm163.o is missing
> > > after make.
> > > > How to get these files built?
> > > >
> > > > I use gcc3.3.1 and bu2.14.
> > > >
> > > > Regards
> > > >
> > > > Peter J
> > > >
> > >
> > > Usually, when it is built, that file is located in:
> > > $PREFIX/avr/lib/avr5/crtm163.o
> > > not in
> > > $PREFIX/lib/gcc-lib/avr/3.3.1/avr5
> > >
> > > are you sure you're looking in the right place?
> > I get this
> >
> > avr-gcc -g -mmcu=atmega163 -Wall -Wstrict-prototypes -o
> blink.out
> > -Wl,-Map,blink.map blink.o
> >
> > atmel/lib/gcc-lib/avr/3.3.1/../../../../avr/bin/ld:
> cannot open crtm163.o:
> > No such file or directory
> >
> > And I cant find it anywhere in $PREFIX
>
> Well $PREFIX is usually set by you, it's your installation
> directory.
> What's your build environment / OS? Is it Cygwin?
Os is linux (CRUX)

I found some info about this problem in a older post by Mattias S.

configure.in:286  (avr-libc CVS)
change
AVR_CRT_MEGA='' to
AVR_CRT_MEGA='crtm161.o crtm162.o crtm163.o crtm169.o crtm323.o crtm128.o
  crtm8.o crtm16.o crtm32.o crtm64.o'
and
AVR_CRT_OTHER='' to
AVR_CRT_OTHER='crt86401.o ctrat94k.o'

And now it works.

Peter
>
>





reply via email to

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