This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building libstdc++ on Alpha
- To: gcc at gcc dot gnu dot org
- Subject: Building libstdc++ on Alpha
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 1 Jun 00 17:02:23 EDT
When I try, I get the following. What am I doing wrong?
cd ../libio ; make "SHELL=/bin/sh" "INSTALL=${rootme}../../../egcs/libstdc++/../install-sh -c" "INSTALL_DATA=${rootme}../../../egcs/libstdc++/../install-sh -c" "INSTALL_PROGRAM=${rootme}../../../egcs/libstdc++/../install-sh -c" "prefix=/usr/local" "exec_prefix=/usr/local" "tooldir=/usr/local/alphaev56-dec-osf4.0c" "gxx_include_dir=/usr/local/include/g++-3" "libsubdir=/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96" "gcc_version=2.96" "gcc_version_trigger=/g/gcc/egcs/gcc/version.c" "AR=`if [ -f ${rootme}../../binutils/ar ] ; then echo ${rootme}../../binutils/ar ; else echo ar ; fi`" "AR_FLAGS=rc" "CC=/g/gcc/alpha3/gcc/xgcc -B/g/gcc/alpha3/gcc/ -B/usr/local/alphaev56-dec-osf4.0c/bin/" "CXX=/g/gcc/alpha3/gcc/g++ -B/g/gcc/alpha3/gcc/ -B/usr/local/alphaev56-dec-osf4.0c/bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=`if [ -f ${rootme}../../binutils/nm.new ] ; then echo ${rootme}../../binutils/nm.new ; else echo nm ; fi`" "RANLIB=`if [ -f ${rootme}../../binutils/ranlib ] ; then echo!
${rootme}../../binutils/ranlib ;
make[1]: Entering directory `/g/gcc/alpha3/alphaev56-dec-osf4.0c/libio'
make[1]: `iostream.list' is up to date.
make[1]: Leaving directory `/g/gcc/alpha3/alphaev56-dec-osf4.0c/libio'
echo cstring
cstring
if [ x"" != x ]; then \
/g/gcc/alpha3/gcc/g++ -B/g/gcc/alpha3/gcc/ -B/usr/local/alphaev56-dec-osf4.0c/bin/ -c -g -O2 -fno-implicit-templates -I../../../egcs/libstdc++ -I../../../egcs/libstdc++/stl -I../libio -I../../../egcs/libstdc++/../libio -nostdinc++ -DC \
`for N in REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS GTSP LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done` \
../../../egcs/libstdc++/sinst.cc -o pic/cstrmain.o; \
else true ; fi
/g/gcc/alpha3/gcc/g++ -B/g/gcc/alpha3/gcc/ -B/usr/local/alphaev56-dec-osf4.0c/bin/ -c -g -O2 -fno-implicit-templates -I../../../egcs/libstdc++ -I../../../egcs/libstdc++/stl -I../libio -I../../../egcs/libstdc++/../libio -nostdinc++ -DC `for N in REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS GTSP LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done` \
../../../egcs/libstdc++/sinst.cc -o cstrmain.o
In file included from /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:64,
from /usr/include/sys/localedef.h:79,
from /usr/include/ctype.h:111,
from ../../../egcs/libstdc++/cctype:6,
from ../../../egcs/libstdc++/std/straits.h:105,
from ../../../egcs/libstdc++/std/bastring.h:36,
from ../../../egcs/libstdc++/string:6,
from ../../../egcs/libstdc++/sinst.cc:36:
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/reg_types.h:56: syntax error before `;'
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/reg_types.h:58: syntax error before `;'
In file included from /usr/include/sys/localedef.h:79,
from /usr/include/ctype.h:111,
from ../../../egcs/libstdc++/cctype:6,
from ../../../egcs/libstdc++/std/straits.h:105,
from ../../../egcs/libstdc++/std/bastring.h:36,
from ../../../egcs/libstdc++/string:6,
from ../../../egcs/libstdc++/sinst.cc:36:
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:204: `__regex_t' was not
declared in this scope
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:204: parse error before `,'
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:205: parse error before `*'
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:206: parse error before `*'
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:207: `__regex_t' was not
declared in this scope
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0c/2.96/include/sys/lc_core.h:207: parse error before `,'
make: *** [bigstmp-string] Error 1