This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How can't I find the crt0.o?
- To: gcc-help at gcc dot gnu dot org
- Subject: How can't I find the crt0.o?
- From: Marcio de Oliveira Buss <ra990898 at ic dot unicamp dot br>
- Date: Sun, 20 Aug 2000 15:04:30 -0300 (EST)
I have built the gcc Linux -> MIPS cross and after I
build the entire system, I have received this message:
[mbuss@moderno]:~/Benchmarks/LSC$ mips-elf-gcc -b mips-elf -mcpu=r3000 -o
test1 test1.c
/ home/mbuss/Compilers/GCC/gcc-mips/usr/
local/lib/gcc-lib/mips-elf/2.96/../../../../mips-elf/bin/ld:
cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
Really, that file is not there as well as in anyplace under
the ../usr/local directory.
Could you tell me what I was doing wrong?
Thanks.
Marcio.
PS.: I have made this:
first: download the files from gcc cvs
second: download the files from src cvs
third: copy the bfd, binutils, gas, gprof, include, intl,
ld, opcodes, newlib directories from ../src into ../gcc
fourth: ./configure --target=mips-elf
--prefix=/home/mbuss/Compilers/GCC/gcc-mips/usr/local
--with-gnu-as
--with-gnu-ld
--with-newlib
--with-headers= /home/mbuss/Compilers/GCC/sources/
Gnu/gcc/newlib/libc/include
make all LANGUAGES="c c++"
make install LANGUAGES="c c++"