Re: cross compiling gcc 4.5.0 for powerpc-linux-gnu fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Betreff: Re: cross compiling gcc 4.5.0 for powerpc-linux-gnu fails

> On 05/05/2010 09:46 AM, Klaus Rudolph wrote:
> > Hi all,
> > 
> > next step for me is to compile gcc 4.5.0 for powerpc-linux-gnu.
> > 
> > I did:
> > ../configure --prefix=/opt/powerpc-unknown-linux-gnu2
> --enable-languages=c,c++ --target=powerpc-unknown-linux-gnu
> > make
> > 
> > 
> > After a while compiling stops with:
> 
> There's not enough info.  What was your configure line? 

See the configure line above ;)


> What else
> did you do?

unpacked gcc sources, copy gmp-5.0.1, mpfr-2.4.2, mpc-0.8.1 into the tree and create a build_dir 
changed to build dir
do the above configure in the build_dir 
and then make



 


> 
> Andrew.
> 
> 
> 
> > make[4]: Entering directory
> `/home/krud/work/gcc-4.5.0/build_powerpc2/powerpc-unknown-linux-gnu/nof/libgcc'
> > # If this is the top-level multilib, build all the other
> > # multilibs.
> > /home/krud/work/gcc-4.5.0/build_powerpc2/./gcc/xgcc
> -B/home/krud/work/gcc-4.5.0/build_powerpc2/./gcc/
> -B/opt/powerpc-unknown-linux-gnu2/powerpc-unknown-linux-gnu/bin/
> -B/opt/powerpc-unknown-linux-gnu2/powerpc-unknown-linux-gnu/lib/ -isystem
> /opt/powerpc-unknown-linux-gnu2/powerpc-unknown-linux-gnu/include -isystem
> /opt/powerpc-unknown-linux-gnu2/powerpc-unknown-linux-gnu/sys-include    -g -O2 -msoft-float -fPIC -mstrict-align -O2  -g -O2
> -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
> ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> -Dinhibit_libc -mlong-double-128 -I. -I. -I../../.././gcc -I../../../../libgcc
> -I../../../../libgcc/. -I../../../../libgcc/../gcc
> -I../../../../libgcc/../include -I../../../../libgcc/../libdecnumber/dpd
> -I../../../../libgcc/../libdecnumber -DHAVE_CC_TLS  -o decContext.o -MT decContext.o -MD -MP -MF
> decContext.dep -c .
> .!
> >  /../../../libgcc/../libdecnumber/decContext.c
> > ../../../../libgcc/../libdecnumber/decContext.c:33:43: fatal error:
> string.h: No such file or directory
> > compilation terminated.
> > make[4]: *** [decContext.o] Error 1
> > make[4]: Leaving directory
> `/home/krud/work/gcc-4.5.0/build_powerpc2/powerpc-unknown-linux-gnu/nof/libgcc'
> > make[3]: *** [multi-do] Error 1
> > make[3]: Leaving directory
> `/home/krud/work/gcc-4.5.0/build_powerpc2/powerpc-unknown-linux-gnu/libgcc'
> > make[2]: *** [all-multi] Error 2
> > make[2]: Leaving directory
> `/home/krud/work/gcc-4.5.0/build_powerpc2/powerpc-unknown-linux-gnu/libgcc'
> > make[1]: *** [all-target-libgcc] Error 2
> > make[1]: Leaving directory `/home/krud/work/gcc-4.5.0/build_powerpc2'
> > make: *** [all] Error 2
> > 

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux