[Top][All Lists]

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

[avr-gcc-list] Debian (woody) update broke gcc - anyone on this know a w

From: Matthew Welland
Subject: [avr-gcc-list] Debian (woody) update broke gcc - anyone on this know a work-around?
Date: Sat, 23 Mar 2002 15:57:17 -0500

I have been using avr-linux-gcc for some time and did an upgrade and now it 
seems to have either broken or be set up differently. 

The previous command line that used to work is:
avr-linux-gcc -g -os -mmcu=atmega163 test2.c -o test2.out
avr-linux-objcopy -j .text -O ihex test1.out test1.hex

The following things have changed:
1. avr-linux-gcc is now avr-gcc
2. I needed to add -I/usr/avr-linux/include or the header files are not found
3. I had to copy crtm163.o in to my work area
4. Now I get:

make test2
avr-gcc -I/usr/avr-linux/include  -g -os -mmcu=atmega163 test2.c -o test2.out
/usr/lib/gcc-lib/avr/3.0.3/../../../../avr/bin/ld: cannot find -lc
make: *** [test2] Error 1

I don't know how to work around this. Is anyone else using Debian woody and 
know how to fix these problems?


avr-gcc-list at http://avr1.org

reply via email to

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