This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
building trunk fails due to C++
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 9 Nov 2011 13:52:09 -0800
- Subject: building trunk fails due to C++
With top of tree, I'm seeing
% ../gcc4x/configure --prefix=$HOME/work --enable-languages=c,fortran \
--disable-libmudflap --disable-bootstrap
% gmake
libtool: compile: g++ -B/usr/home/kargl/work/i386-unknown-freebsd10.0/bin/ -B/usr/home/kargl/work/i386-unknown-freebsd10.0/lib/ -isystem /usr/home/kargl/work/i386-unknown-freebsd10.0/include -isystem /usr/home/kargl/work/i386-unknown-freebsd10.0/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc4x/libitm -I../../../gcc4x/libitm/config/x86 -I../../../gcc4x/libitm/config/posix -I../../../gcc4x/libitm/config/generic -I../../../gcc4x/libitm -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -march=i486 -mtune=i386 -fomit-frame-pointer -Wall -pthread -Werror -fabi-version=4 -g -O2 -MT aatree.lo -MD -MP -MF .deps/aatree.Tpo -c ../../../gcc4x/libitm/aatree.cc -fPIC -DPIC -o .libs/aatree.o
cc1plus: error: unrecognized command line option "-std=gnu++0x"
gmake[4]: *** [aatree.lo] Error 1
gmake[4]: Leaving directory `/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd10.0/libitm'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd10.0/libitm'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd10.0/libitm'
gmake[1]: *** [all-target-libitm] Error 2
gmake[1]: Leaving directory `/usr/home/kargl/gcc/obj4x'
gmake: *** [all] Error 2
Please fix.
--
Steve