[Bug libstdc++/55696] Error linking using gfortran with C++ code compiled with -std=c++11
kyle.niemeyer at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 21:18:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55696
--- Comment #2 from Kyle <kyle.niemeyer at gmail dot com> 2012-12-14 21:17:07 UTC ---
I used homebrew (on Mac OS X 10.8.2). "gcc -v" reports:
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc-4.7
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/4.7.2/gcc/libexec/gcc/x86_64-apple-darwin12.2.0/4.7.2/lto-wrapper
Target: x86_64-apple-darwin12.2.0
Configured with: ../configure --enable-languages=c,c++,fortran
--prefix=/usr/local/Cellar/gcc/4.7.2/gcc
--datarootdir=/usr/local/Cellar/gcc/4.7.2/share
--bindir=/usr/local/Cellar/gcc/4.7.2/bin --program-suffix=-4.7
--with-gmp=/usr/local/Cellar/gmp/5.0.5
--with-mpfr=/usr/local/Cellar/mpfr/3.1.1-p2
--with-mpc=/usr/local/Cellar/libmpc/1.0.1 --with-system-zlib
--enable-stage1-checking --enable-plugin --enable-lto --disable-nls
--disable-multilib
Thread model: posix
gcc version 4.7.2 (GCC)
and "gfortran -v" reports:
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gfortran/4.7.2/gfortran/libexec/gcc/x86_64-apple-darwin12.2.0/4.7.2/lto-wrapper
Target: x86_64-apple-darwin12.2.0
Configured with: ../configure --enable-languages=fortran
--prefix=/usr/local/Cellar/gfortran/4.7.2/gfortran
--datarootdir=/usr/local/Cellar/gfortran/4.7.2/share
--bindir=/usr/local/Cellar/gfortran/4.7.2/bin --with-system-zlib
--with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr
--with-mpc=/usr/local/opt/libmpc --enable-checking=release
--disable-stage1-checking --disable-build-poststage1-with-cxx
--disable-libstdcxx-pc --disable-nls
Thread model: posix
gcc version 4.7.2 (GCC)
More information about the Gcc-bugs
mailing list