This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/55696] Error linking using gfortran with C++ code compiled with -std=c++11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55696

--- Comment #4 from Kyle <kyle.niemeyer at gmail dot com> 2012-12-14 21:25:30 UTC ---
It looks like you were right. It must have been linking to the system
libstdc++, rather than the one associated with this gcc.

When I link using:
gfortran -o prog main.o sub.o /usr/local/Cellar/gcc/4.7.2/gcc/lib/libstdc++.a
it gives no error. My fault, thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]