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: error build mips-elf-gcc build - xgcc related


Nazneen:


Faq, faq, faq.  I have *got* to get the FAQ (as ugly as it is) into
more mainstream use.

See http://crossgcc.billgatliff.com

You need the "--with-gnu-as" and "--with-gnu-ld" options.

b.g.

On Sat, Aug 25, 2001 at 10:42:04AM +0900, nazneen shaikh wrote:
> 
> hi.
> 
> i'm trying to build cross tools chain for mips targets. during gcc build i
> get following error & build stops.
> 
> << cut >>
> 
> do \
> 
> echo ${name}; \
> 
> /home/girish/gcc-2.9.3/build-gcc/gcc/xgcc -B/home/girish/gcc-2.9.3/build-gcc
> /gcc/ -B/opt/tools/mips-elf/bin/ -I/opt/tools/mips-elf/include -O2 -DCROSS_C
> OMPILE -DIN_GCC -g -O2 -I./include -G
> 0 -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I../../gcc-2.95.3/gcc -I../
> ../gcc-2.95.3/gcc/config -I../../gcc-2.95.3/gcc/../include -c -DL${name}
> libgcc1.S; \
> 
> if [ $? -eq 0 ] ; then true; else exit 1; fi; \
> 
> mv libgcc1.o ${name}.o; \
> 
> mips-elf-ar rc tmplibgcc1.a ${name}.o; \
> 
> rm -f ${name}.o; \
> 
> done
> 
> _m16addsf3
> 
> xgcc: installation problem, cannot exec `mips-tfile': No such file or
> directory
> 
> make[1]: *** [libgcc1-asm.a] Error 1
> 
> make[1]: Leaving directory `/home/girish/gcc-2.9.3/build-gcc/gcc'
> 
> make: *** [all-gcc] Error 2
> 
> exitts
> 
> $
> 
> other details are
> 
> host: rh linux 7.1
> 
> target: mips-elf-*
> 
> versions:
> 
>     binutils-2.9 (build)
> 
>     gcc-2.9.3 (build error)
> 
>     newlib-1.8.2(yet to build)
> 
> please help me solving this problem.
> 
> thanks.
> 
> nazneen.
> 
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
> 

-- 
Bill Gatliff
bgat@billgatliff.com

------
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]