This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem install gcc for mips


* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]