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: gcc3.0 cross-compilor compiling error


I tried the following options, it gave the same result.  Following is the 
final
section of the building log:

make[2]: Entering directory `/d/gnu/build-gcc-bootstrap/gcc'
for d in libgcc soft-float libgcc/soft-float single libgcc/single el 
libgcc/el mips3 libgcc/mips3 el/mips3 libgcc/el/mips3 soft-float/el 
libgcc/soft-float/el soft-float/mips3 libgcc/soft-float/mips3 
soft-float/el/mips3 libgcc/soft-float/el/mips3 single/el libgcc/single/el 
single/mips3 libgcc/single/mips3 single/el/mips3 libgcc/single/el/mips3; do 
\
  if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/d/gnu/build-gcc-bootstrap/gcc/xgcc -B/d/gnu/build-gcc-bootstrap/gcc/ 
-nostdinc -B/d/gnu/build-gcc-bootstrap/mips/newlib/ -isystem 
/d/gnu/build-gcc-bootstrap/mips/newlib/targ-include -isystem 
/d/gnu/gcc-3.0/newlib/libc/include -B/tools/mipstools/mips/bin/ 
-B/tools/mipstools/mips/lib/ -isystem /tools/mipstools/mips/include -O2  
-DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include  -G 0 -g1  -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0/gcc 
-I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config 
-I../../gcc-3.0/gcc/../include -DL_m16addsf3 -xassembler-with-cpp -c 
../../gcc-3.0/gcc/config/mips/mips16.S -o libgcc/./_m16addsf3.o
xgcc: installation problem, cannot exec `mips-tfile': No such file or 
directory
make[2]: *** [libgcc/./_m16addsf3.o] Error 1
make[2]: Leaving directory `/d/gnu/build-gcc-bootstrap/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/d/gnu/build-gcc-bootstrap/gcc'
make: *** [all-gcc] Error 2

I don't know where mips-tfile is called.

Regards,
Jason

>From: "SeanChang" <seanchang@mail.arti.com.tw>
>To: "jason jiang" <jasonjiang2000@hotmail.com>, 
><crossgcc@sources.redhat.com>
>Subject: Re: gcc3.0 cross-compilor compiling error
>Date: Wed, 18 Jul 2001 17:23:18 +0800
>
>You have to configure gcc with '--with-gnu-as' '--with-gnu-ld' options.
>
>Sean Chang
>
>----- Original Message -----
>From: "jason jiang" <jasonjiang2000@hotmail.com>
>To: <crossgcc@sources.redhat.com>
>Sent: Wednesday, July 18, 2001 5:00 PM
>Subject: gcc3.0 cross-compilor compiling error
>
>
> > Hi, Sir,
> >
> > I try to build a cross-compilor for my embeded MIPS system.  I installed
>the
> > latest cygwin on Windows2000 system.  I try to build xgcc for cygwin. I
> > install binutils-2.11.2 without error. However, when building gcc-3.0
> > cross-compilor, it failed.
> >
> > The commands issued are:
> >
> > mkdir build-binutils
> > cd build-binutils
> > ../binutils-2.11.2/configure --target=mips --prefix=/tools/mipstools -v
> > make all install
> > cd ..
> > PATH=/tools/mipstools/bin:$PATH
> > export PATH
> >
> > mkdir build-gcc
> > cd build-gcc
> > ../gcc-3.0/configure --target=mips --prefix=/tools/mipstools -v
> > make all install
> >
> > The error message is:
> >
> > xgcc: installation problems, cannot exec 'mips-tfile': no such file or
> > directory
> >
> > I have tried --target=mips-elf and --target=mips-coff, the results were
> > the same.
> >
> > Can anyone help on this?
> >
> > Regards,
> > Jason
> > 
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.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
> >
> >
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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]