[Bug c++/13036] New: g++ fails to pass -lstdc++ -lgcc_s to the linker if -V is used
joachim dot reichel at gmx dot de
gcc-bugzilla@gcc.gnu.org
Thu Nov 13 12:14:00 GMT 2003
This bug has been observed on i386-linux with the Debian package 3.3.2-1
configured as follows:
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)
as well as on sparc-solaris with the 3.3.2 tarball, configured as follows:
Reading specs from
/opt/gnu/5.9/lib/gcc-3.3.2/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: /opt/gnu_common/src/gcc-3.3.2/configure
--prefix=/opt/gnu/5.9/lib/gcc-3.3.2 --with-libiconv-prefix=/opt/gnu
--with-libintl-prefix=/opt/gnu
Thread model: posix
gcc version 3.3.2
Source Code:
#include <iostream>
int main() {
std::cout << "hello world\n";
return 0;
}
This has worked in version 3.2.3.
The message http://gcc.gnu.org/ml/gcc/2003-05/msg00702.html mentions also -b as
a cause, but I haven't checked that.
--
Summary: g++ fails to pass -lstdc++ -lgcc_s to the linker if -V
is used
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joachim dot reichel at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13036
More information about the Gcc-bugs
mailing list