This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
cannot find crt0.o/-lc
- From: Andreas Geißler <setjem at googlemail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 11 Jun 2012 10:53:24 +0200
- Subject: cannot find crt0.o/-lc
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