[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] avr-gcc: cannot find -lc
From: |
Matt Everett |
Subject: |
[avr-gcc-list] avr-gcc: cannot find -lc |
Date: |
Mon, 21 Apr 2003 20:25:30 -0700 (PDT) |
Can anyone help me with this error? I am running
RedHat Linux 7.2...
avr-gcc --version ====>
avr-gcc (GCC) 3.3.20030414 (prerelease)
avr-ld --version ====>
GNU ld version 030414 20030414
Here is a description of what I am trying to do... I
can compile a simple .c file to a .o file. When I try
to link it into a .elf file (please forgive my
ignorance of the correct terminology...I am a C
newbie), I get the following errors:
command:
avr-gcc -g -mmcu=atmega32 -o blink.elf blink.o
result:
/usr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld:
skipping incompatible
/usr/lib/gcc-lib/avr/3.3/../../../../avr/lib/avr5/libc.a
when searching for -lc
/usr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld:
skipping incompatible
/usr/lib/gcc-lib/avr/3.3/../../../../avr/lib/libc.a
when searching for -lc
/usr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld:
skipping incompatible /usr/avr/bin/../lib/libc.a when
searching for -lc
/usr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld:
cannot find -lc
If I look into those directories, there are libc.a
files there, I am just not sure what makes one
compatible or incompatible... Any gurus out there
have an idea off the top of your head?
Thanks in advance...
-Matt Everett
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
- [avr-gcc-list] avr-gcc: cannot find -lc,
Matt Everett <=