PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] 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. [EMAIL PROTECTED] 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. ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.