[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
directory

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

Any idea?
Thanks

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

/opt/uClinux/lib/gcc-lib/m68k-coff/2.7.2.3/cpp -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 2.7.2.3 (68k, Motorola syntax)
#include "..." search starts here:
#include <...> search starts here:
 /opt/uClinux/lib/gcc-lib/m68k-coff/2.7.2.3/include
 /opt/uClinux/lib/gcc-lib/m68k-coff/2.7.2.3/sys-include
 /opt/uClinux/m68k-coff/include
End of search list.
 /opt/uClinux/lib/gcc-lib/m68k-coff/2.7.2.3/cc1
/tmp/ccBYm6x2.i -m68020 -quiet -dumpbase test.c -version -o /tmp/ccBYm6x2.s
GNU C version 2.7.2.3 (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/2.7.2.3 -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