This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/19504] New: g++ -V ver (or -b mach) or gcj -V ver etc. broken
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2005 14:11:52 -0000
- Subject: [Bug driver/19504] New: g++ -V ver (or -b mach) or gcj -V ver etc. broken
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-V and -b options cause *-gcc-* driver to be run no matter what driver is used.
So, e.g.
g++ -V 4.0.0 -o a a.C
will not link, as -lstdc++ is not passed.
I think either we should completely nuke -V and -b options, or install
also <machine>-{gfortran,gcj,g++,cpp}-<version> links and put into *spec.c
a string with the canonical name of the driver and use that string in
gcc.c instead of "-gcc-".
--
Summary: g++ -V ver (or -b mach) or gcj -V ver etc. broken
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19504