[uCsimm] Compilation failure

From: Cosma Pabouctsidis (cosma@aftt.com)
Date: Thu Aug 30 2001 - 11:17:18 EDT

I am trying to compile an ulra simple c program. The compilation fails,
reporting: /opt/uClinux/m68k-coff/bin/ld: cannot open -lc: No such file or

Below are the stages the compiler manages to go through and the failure

Any idea?

[cosma@linuxserver]$ m68k-coff-gcc -v test.c -o tes
Reading specs from /opt/uClinux/lib/gcc-lib/m68k-coff/
gcc version

/opt/uClinux/lib/gcc-lib/m68k-coff/ -lang-c -v -undef -D__GNUC__=
2 -D__GNUC_MINOR__=7 -Dmc68000 -D__mc68000__ -D__mc68000 -D__HAVE_68881__ -D
mc68020 -D__mc68020__ -D__mc68020 test.c /tmp/ccBYm6x2.i
GNU CPP version (68k, Motorola syntax)
#include "..." search starts here:
#include <...> search starts here:
End of search list.
/tmp/ccBYm6x2.i -m68020 -quiet -dumpbase test.c -version -o /tmp/ccBYm6x2.s
GNU C version (68k, Motorola syntax) compiled by GNU C version
egcs-2.91.66 19990314 (egcs-1.1.2 release).
 /opt/uClinux/m68k-coff/bin/as -mc68020 -o /tmp/ccBYm6x21.o /tmp/ccBYm6x2.s
 /opt/uClinux/m68k-coff/bin/ld -o
tes -L/opt/uClinux/lib/gcc-lib/m68k-coff/ -L/opt/uClinux/m68k-coff/li
b /tmp/ccBYm6x21.o -lgcc -lc -lgcc
/opt/uClinux/m68k-coff/bin/ld: cannot open -lc: No such file or directory

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST