public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
@ 2003-05-24 20:16 ` pinskia@physics.uc.edu
  2003-06-01  2:50 ` bangerth@dealii.org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-24 20:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-24 20:08:10
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-24 20:08 -------
confirmed on mainline 20030524)/3.3 experimental (20021216):
tin:~/src/gnu/gcctest>g++ -V3.3 testhello.cc -v
Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-
gnu --enable-__cxa_atexit --prefix=/home/gates/pinskia/linux --enable-threads=posix --
enable-shared
Thread model: posix
gcc version 3.3 20021216 (experimental)
 /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1plus -quiet -v -
D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -
D_GNU_SOURCE testhello.cc -D__GNUG__=3 -quiet -dumpbase testhello.cc -auxbase 
testhello -version -o /tmp/ccNsI82O.s
GNU C++ version 3.3 20021216 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.3 20021216 (experimental).
#include "..." search starts here:
#include <...> search starts here:
 /home/gates/pinskia/linux/include/c++/3.3
 /home/gates/pinskia/linux/include/c++/3.3/i686-pc-linux-gnu
 /home/gates/pinskia/linux/include/c++/3.3/backward
 /usr/local/include
 /home/gates/pinskia/linux/include
 /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/include
 /home/gates/pinskia/linux/i686-pc-linux-gnu/include
 /usr/include
End of search list.
 /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../../i686-pc-linux-gnu/bin/
as -V -Qy -o /tmp/ccXwuSGD.o /tmp/ccNsI82O.s
GNU assembler version 2.14.90 (i686-pc-linux-gnu) using BFD version 2.14.90 
20030523
 /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/collect2 --eh-frame-hdr -m 
elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /home/gates/pinskia/
linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/crtbegin.o -L/home/gates/pinskia/linux/lib/gcc-lib/
i686-pc-linux-gnu/3.3 -L/home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../../
i686-pc-linux-gnu/lib -L/home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../.. /
tmp/ccXwuSGD.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /home/gates/pinskia/linux/lib/gcc-lib/
i686-pc-linux-gnu/3.3/crtend.o /usr/lib/crtn.o
/tmp/ccXwuSGD.o(.text+0x1b): In function `main':
: undefined reference to `std::cout'
/tmp/ccXwuSGD.o(.text+0x20): In function `main':
: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& 
std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> 
>&, char const*)'
/tmp/ccXwuSGD.o(.text+0x49): In function `__static_initialization_and_destruction_0(int, 
int)':
: undefined reference to `std::ios_base::Init::Init[in-charge]()'
/tmp/ccXwuSGD.o(.text+0x7a): In function `__tcf_0':
: undefined reference to `std::ios_base::Init::~Init [in-charge]()'
/tmp/ccXwuSGD.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
tin:~/src/gnu/gcctest>g++ -v
Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-
gnu --enable-__cxa_atexit --prefix=/home/gates/pinskia/linux --enable-threads=posix --
enable-shared
Thread model: posix
gcc version 3.4 20030524 (experimental)
tin:~/src/gnu/gcctest>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
  2003-05-24 20:16 ` [Bug driver/10707] c++ linking impossible when -V specified pinskia@physics.uc.edu
@ 2003-06-01  2:50 ` bangerth@dealii.org
  2003-06-10 18:16 ` bangerth@dealii.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth@dealii.org @ 2003-06-01  2:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth@dealii.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


------- Additional Comments From bangerth@dealii.org  2003-06-01 02:50 -------
While the PR is certainly valid, -V is not really the recommended way
anymore to use different compilers. It was used, IIRC, in the time
frame of before gcc2.8 or so, and indeed the manual entry for -V
gives revealing clues about when this was useful:

  @item -V @var{version}
  @opindex V
  The argument @var{version} specifies which version of GCC to run.
  This is useful when multiple versions are installed.  For example,
  @var{version} might be @samp{2.0}, meaning to run GCC version 2.0.
  @end table

The way to go these days is to install different versions of gcc into
different directories.

I have the feeling that this will some day be "fixed" by obsoleting -V...

W.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
  2003-05-24 20:16 ` [Bug driver/10707] c++ linking impossible when -V specified pinskia@physics.uc.edu
  2003-06-01  2:50 ` bangerth@dealii.org
@ 2003-06-10 18:16 ` bangerth@dealii.org
  2003-06-10 22:44 ` neroden@gcc.gnu.org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth@dealii.org @ 2003-06-10 18:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth@dealii.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas@koeller.dyndns.org


------- Additional Comments From bangerth@dealii.org  2003-06-10 18:16 -------
*** Bug 11143 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (2 preceding siblings ...)
  2003-06-10 18:16 ` bangerth@dealii.org
@ 2003-06-10 22:44 ` neroden@gcc.gnu.org
  2003-08-04  0:27 ` pinskia at physics dot uc dot edu
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: neroden@gcc.gnu.org @ 2003-06-10 22:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


neroden@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


------- Additional Comments From neroden@gcc.gnu.org  2003-06-10 22:44 -------
Or under different names (via program_transform_name), which is actually quite feasible.

I'm suspending this, since it's not going to be fixed in the forseeable future (except by obsoleting -V, which has been discussed).


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (3 preceding siblings ...)
  2003-06-10 22:44 ` neroden@gcc.gnu.org
@ 2003-08-04  0:27 ` pinskia at physics dot uc dot edu
  2003-09-08  4:26 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-04  0:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (4 preceding siblings ...)
  2003-08-04  0:27 ` pinskia at physics dot uc dot edu
@ 2003-09-08  4:26 ` pinskia at gcc dot gnu dot org
  2003-11-13 17:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-08  4:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-08 04:26 -------
-V was removed for a while (I forgot when) but it was put back and fixed up so it would 
work between 3.x's but it also has been not recommened to use -V any way.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (5 preceding siblings ...)
  2003-09-08  4:26 ` pinskia at gcc dot gnu dot org
@ 2003-11-13 17:49 ` pinskia at gcc dot gnu dot org
  2004-04-02 17:00 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-13 17:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-13 17:49 -------
*** Bug 13036 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joachim dot reichel at gmx
                   |                            |dot de


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (6 preceding siblings ...)
  2003-11-13 17:49 ` pinskia at gcc dot gnu dot org
@ 2004-04-02 17:00 ` pinskia at gcc dot gnu dot org
  2004-06-11 13:17 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-02 17:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-02 17:00 -------
*** Bug 14825 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryan dot pipkin at inet dot
                   |                            |com


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (7 preceding siblings ...)
  2004-04-02 17:00 ` pinskia at gcc dot gnu dot org
@ 2004-06-11 13:17 ` pinskia at gcc dot gnu dot org
  2004-09-09 16:40 ` pinskia at gcc dot gnu dot org
  2005-01-18 14:35 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 13:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-11 13:17 -------
*** Bug 15940 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harri dot pasanen at trema
                   |                            |dot com


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (8 preceding siblings ...)
  2004-06-11 13:17 ` pinskia at gcc dot gnu dot org
@ 2004-09-09 16:40 ` pinskia at gcc dot gnu dot org
  2005-01-18 14:35 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-09 16:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-09 16:40 -------
*** Bug 17375 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kasparek at fit dot vutbr
                   |                            |dot cz


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
                   ` (9 preceding siblings ...)
  2004-09-09 16:40 ` pinskia at gcc dot gnu dot org
@ 2005-01-18 14:35 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 14:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-18 14:22 -------
*** Bug 19504 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/10707] c++ linking impossible when -V specified
       [not found] <bug-10707-2311@http.gcc.gnu.org/bugzilla/>
@ 2010-05-22 17:56 ` jsm28 at gcc dot gnu dot org
  0 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-05-22 17:56 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]



------- Comment #12 from jsm28 at gcc dot gnu dot org  2010-05-22 17:55 -------
-b and -V were removed:

2010-04-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>

        PR 42485
        * doc/invoke.texi (-b,-V): Delete.
        * doc/tm.texi: Do not mention -b.
        * gcc.c (display_help): Delete -b and -V.
        (process_command): Delete -b and -V.
        * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |WONTFIX


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-05-22 17:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030509160600.10707.gawrilow@math.tu-berlin.de>
2003-05-24 20:16 ` [Bug driver/10707] c++ linking impossible when -V specified pinskia@physics.uc.edu
2003-06-01  2:50 ` bangerth@dealii.org
2003-06-10 18:16 ` bangerth@dealii.org
2003-06-10 22:44 ` neroden@gcc.gnu.org
2003-08-04  0:27 ` pinskia at physics dot uc dot edu
2003-09-08  4:26 ` pinskia at gcc dot gnu dot org
2003-11-13 17:49 ` pinskia at gcc dot gnu dot org
2004-04-02 17:00 ` pinskia at gcc dot gnu dot org
2004-06-11 13:17 ` pinskia at gcc dot gnu dot org
2004-09-09 16:40 ` pinskia at gcc dot gnu dot org
2005-01-18 14:35 ` pinskia at gcc dot gnu dot org
     [not found] <bug-10707-2311@http.gcc.gnu.org/bugzilla/>
2010-05-22 17:56 ` jsm28 at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).