Help!! libstdc++-v3 build for cross compiler target powerpc

Xiaopeng Gong pgong@integralaccess.com
Wed Jan 24 13:08:00 GMT 2001


Hello, Benjamin,
    Thanks for the information.

    I downloaded the 2000-01-15 snapshot of gcc/libstdc++ and try to build
it, however, I got a different error message than last time about "Asm"

    It seems the error message is related to the file strings.h -- which
will be generated by fixincs for powerpc target?   Do I need autogen utility
on the system to get it work?  I do not have autogen installed on my system.

    What I did is:
        put the source into /try6/gcc-20010115/
        mkdir /try6/buildgcc
        cd /try6/buildgcc








../gcc-20010115/configure --target=powerpc-unknown-eabi --prefix=/tools --wi
th-gnu-as --with-gnu-ld --enable-languages="C++" --enable-cpplib --enable-st
dlibcxx-v3
        make bootstrap

    Entering directory `/try6/buildgcc/gcc'
stage1/xgcc -Bstage1/ -B/tools/powerpc-unknown-eabi/bin/ -c -DCROSS_COMPILE 
-DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-pr
ototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR
_FILE    -I. -I. -I../../gcc-20010115/gcc -I../../gcc-20010115/gcc/. -I../..
/gcc-20010115/gcc/config -I../../gcc-20010115/gcc/../include
../../gcc-20010115/gcc/gengenrtl.c
In file included from ../../gcc-20010115/gcc/gengenrtl.c:23:
../../gcc-20010115/gcc/system.h:98:22: strings.h: No such file or directory
../../gcc-20010115/gcc/gengenrtl.c: In function `genheader':
../../gcc-20010115/gcc/gengenrtl.c:358: warning: implicit declaration of
function `putc_unlocked'
make[2]: *** [gengenrtl.o] Error 1
make[2]: Leaving directory `/try6/buildgcc/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/try6/buildgcc/gcc'
make: *** [bootstrap] Error 2

-----Original Message-----
From: Benjamin Kosnik [ mailto:bkoz@redhat.com ]
Sent: Wednesday, January 24, 2001 1:00 PM
To: Xiaopeng Gong
Cc: libstdc++@gcc.gnu.org
Subject: Re: Help!! libstdc++-v3 build for cross compiler target powerpc



You will have better luck using a 2001-01-15 snapshot of gcc/libstdc++
and the relevant archive from the 'src' module (or binutils.)

I build this cross weekly: it works.

-benjamin




More information about the Libstdc++ mailing list