[Top][All Lists]

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

[avr-gcc-list] gcc problems

From: David Smead
Subject: [avr-gcc-list] gcc problems
Date: Tue, 20 Nov 2001 22:08:47 -0800 (PST)

I installed the latest gcc tools for avr, but must have configured
something wrong because it has the wrong path to some expected files.
Here is what I'm running and the errors.

address@hidden demo]$ make
avr-gcc -I/usr/local/avr/include -MM simple-demo.c  >  simple-demo.d
avr-gcc -I/usr/local/avr/include -mmcu=at90s2333 -g -O0 -Wall -c
simple-demo.c -o simple-demo.o
simple-demo.c:82: warning: return type of `main' is not `int'
avr-gcc -o  demo simple-demo.o   -mmcu=at90s2333
/usr/local/avr/lib/gcc-lib/avr/3.0.2/../../../../avr/bin/ld: cannot open
crts2333.o: No such file or directory
make: *** [demo] Error 1

address@hidden demo]$ locate crts2333.o

Can someone tell me what I need to do to point avr-gcc -o to the correst
crts.o?  Thanks.


David Smead

reply via email to

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