problem install gcc for mips
M. R. Brown
mrbrown@0xd6.org
Mon Sep 24 05:39:00 GMT 2001
* DavideBernini.guest@intesabci.it <DavideBernini.guest@intesabci.it> on Mon, Sep 24, 2001:
>
> /home/dave/src/gcc/gcc-build/gcc/xgcc
> -B/home/dave/src/gcc/gcc-build/gcc/
> -B/home/dave/src/gcc/build//mipsel-linux/bin/-B/home/dave/src/gcc/build//mipsel-linux/lib/
> -isystem /home/dave/src/gcc/build//mipsel-linux/include -O2
> -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -shared -nodefaultlibs
[snip]
> lj.o -lc && rm -f libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.so.1
> /home/dave/src/gcc/build//mipsel-linux/bin/ld: cannot open crti.o: No
> such file or direc
> tory
> collect2: ld returned 1 exit status
> make[2]: *** [libgcc_s.so] Error 1
> make[2]: Leaving directory `/home/dave/src/gcc/gcc-build/gcc'
>
It looks like you're building a bootstrap compiler since -Dinhibit_libc is
specified, and unless you missed a few lines when pasting, make isn't
exiting out of an all-gcc step, so I assume you just typed "make"? Use
"make all-gcc install-gcc" instead.
Also, if this is the step you're doing before building glibc you probably
want to pass --disable-shared to gcc's configure as you won't get crti.o
until you build glibc.
M. R.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list