public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/12564] New: deprecate -V or update documentation
@ 2003-10-10  7:22 debian-gcc at lists dot debian dot org
  2003-10-10  7:36 ` [Bug driver/12564] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-10-10  7:22 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=12564

           Summary: deprecate -V or update documentation
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org

As -V doesn't work well across major versions, maybe this option should be
documented as deprecated, removed at all, or at least the problems with it's use
described. On the lists people are often advised against the use of -V.


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

* [Bug driver/12564] deprecate -V or update documentation
  2003-10-10  7:22 [Bug other/12564] New: deprecate -V or update documentation debian-gcc at lists dot debian dot org
@ 2003-10-10  7:36 ` pinskia at gcc dot gnu dot org
  2003-10-10 21:29 ` geoffk at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-10  7:36 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=12564


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |driver


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-10 07:36 -------
-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. I have used -V to 
work between 3.3 and 3.4 (really 3.4 driver with 3.3 compilers) but it always have never been 
recommended to install two different versions in the same directory. Also what do you mean by 
across major versions (if you are talking 3.x and 2.x, this should not come up any more since 3.0 
has been out for at least two years, also many version between the current 3.3.1 and 3.0 have 
worked with the lastest 3.3 driver and -V).


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

* [Bug driver/12564] deprecate -V or update documentation
  2003-10-10  7:22 [Bug other/12564] New: deprecate -V or update documentation debian-gcc at lists dot debian dot org
  2003-10-10  7:36 ` [Bug driver/12564] " pinskia at gcc dot gnu dot org
@ 2003-10-10 21:29 ` geoffk at gcc dot gnu dot org
  2003-10-15  2:44 ` wilson at specifixinc dot com
  2003-10-23 19:30 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2003-10-10 21:29 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=12564


geoffk at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From geoffk at gcc dot gnu dot org  2003-10-10 21:29 -------
-V is fully supported for current versions of GCC, and it should work for older
versions if you make the appropriate symlink in the directory where the 'gcc'
driver is installed.


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

* [Bug driver/12564] deprecate -V or update documentation
  2003-10-10  7:22 [Bug other/12564] New: deprecate -V or update documentation debian-gcc at lists dot debian dot org
  2003-10-10  7:36 ` [Bug driver/12564] " pinskia at gcc dot gnu dot org
  2003-10-10 21:29 ` geoffk at gcc dot gnu dot org
@ 2003-10-15  2:44 ` wilson at specifixinc dot com
  2003-10-23 19:30 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: wilson at specifixinc dot com @ 2003-10-15  2: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=12564



------- Additional Comments From wilson at specifixinc dot com  2003-10-15 02:44 -------
Subject: Re:  New: deprecate -V or update documentation

debian-gcc at lists dot debian dot org wrote:
> As -V doesn't work well across major versions, maybe this option should be
> documented as deprecated, removed at all, or at least the problems with it's use
> described. On the lists people are often advised against the use of -V.

I was curious about the follow up comments, so I took a look.  The -V/-b 
support was rewritten as of gcc-3.3.  The new support for it looks safe. 
  So if you have gcc-3.3 or higher -V/-b will work.  If you have 
anything earlier, they are not safe, and will work only sometimes.

I did notice a couple of minor problems with the new code.  The -V/-b 
options must occur first.  This isn't documented in invoke.texi.  You do 
get a nice error message though if you get this wrong.

The long form options no longer work, e.g. --use-version and --target. 
These can probably be dropped.  They aren't documented, so there 
probably aren't many people using them.  And they were never safe anyways.

[wilson@leaf gcc]$ ./xgcc --use-version=3.0 -B./ tmp.c
xgcc: `-V' must come at the start of the command line

The error makes no sense, because --use-version is at the beginning of 
the command line.


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

* [Bug driver/12564] deprecate -V or update documentation
  2003-10-10  7:22 [Bug other/12564] New: deprecate -V or update documentation debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2003-10-15  2:44 ` wilson at specifixinc dot com
@ 2003-10-23 19:30 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-23 19:30 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=12564



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-23 19:27 -------
Subject: Bug 12564

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	wilson@gcc.gnu.org	2003-10-23 19:27:42

Modified files:
	gcc            : ChangeLog gcc.c 

Log message:
	Fix problem noticed while looking at PR 12564.
	* gcc.c (option_map): Delete --target and --use-version.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1530&r2=2.1531
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gcc&r1=1.394&r2=1.395


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

end of thread, other threads:[~2003-10-23 19:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10  7:22 [Bug other/12564] New: deprecate -V or update documentation debian-gcc at lists dot debian dot org
2003-10-10  7:36 ` [Bug driver/12564] " pinskia at gcc dot gnu dot org
2003-10-10 21:29 ` geoffk at gcc dot gnu dot org
2003-10-15  2:44 ` wilson at specifixinc dot com
2003-10-23 19:30 ` cvs-commit 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).