cannot find crt0.o/-lc
Andreas Geißler
setjem@googlemail.com
Mon Jun 11 08:53:00 GMT 2012
I am trying to write a backend for the gcc using my own target system.
The cc1 and the gnu assembler work fine
but after compiling and installing the gcc, i get the following
message when trying to compile a simple c-file:
c:/mingw/msys/1.0/bin/../lib/gcc/menmic/4.6.2/../../../../menmic/bin/ld.exe:
cannot find crt0.o: No such file or directory
c:/mingw/msys/1.0/bin/../lib/gcc/menmic/4.6.2/../../../../menmic/bin/ld.exe:
cannot find -lc
I found out that the error with -lc is connected with the libc and
that the crt0.o is an initialisation file.
So where and how should i describe this files?
Thanks in advance.
Best regards,
Andi
More information about the Binutils
mailing list