On 11/27/2016 11:15 PM, Bob Coleman wrote:
# configuring with just the --enable-cplusplus flag gives the errors below:
# ./configure --enable-cplusplus
bob@bob-Gazelle:~/GambitSchemeSourceRepo/gambit$ make -j8 from-scratch
This worked for me:
21 14:20 git clone https://github.com/gambit/gambit.git
22 14:21 cd gambit
23 14:21 ./configure
24 14:23 make -j8 latest-release
27 14:25 ./configure 'CC=gcc -march=native' '--enable-single-host' '--enable-shared' '--enable-multiple-versions'
28 14:26 make -j8 from-scratch
29 14:28 make check
30 14:29 make -j doc
31 14:29 sudo make install
35 23:20 ./configure --enable-cplusplus
36 23:20 make mostlyclean
37 23:20 make
38 23:22 make check
I.e., after configuring with my usual options and "make from-scratch" I reconfigured with --enable-cplusplus and then "make; make check" worked.
My gcc/g++:
firefly:~/programs/gambit/gambit> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrap per
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.2.0-5ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,j ava,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux- gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=n ew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/ java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/j vm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jv m-exports/java-1.5.0-gcj-6-amd 64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java /eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,m x32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12)
firefly:~/programs/gambit/gambit> g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrap per
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.2.0-5ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,j ava,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux- gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=n ew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/ java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/j vm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jv m-exports/java-1.5.0-gcj-6-amd 64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java /eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,m x32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12)
Brad