Commit 8c7b74b9 by Joseph Myers Committed by Joseph Myers

invoke.texi: Document that -V will only work for very similar versions of driver and compiler.

	* invoke.texi: Document that -V will only work for very similar
	versions of driver and compiler.

From-SVN: r37125
parent 00c83d46
2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
* invoke.texi: Document that -V will only work for very similar
versions of driver and compiler.
2000-10-29 Neil Booth <neilb@earthling.net>
* cppmacro.c (_cpp_create_definition): Optimize the case of
......
......@@ -3948,14 +3948,20 @@ that you originally invoked continues to run and invoke the other
executables (preprocessor, compiler per se, assembler and linker)
that do the real work. However, since no real work is done in the
driver program, it usually does not matter that the driver program
in use is not the one for the specified target and version.
in use is not the one for the specified target. It is common for the
interface to the other executables to change incompatibly between
compiler versions, so unless the version specified is very close to that
of the driver (for example, @samp{-V 3.0} with a driver program from GCC
version 3.0.1), use of @samp{-V} may not work; for example, using
@samp{-V 2.95.2} will not work with a driver program from GCC 3.0.
The only way that the driver program depends on the target machine is
in the parsing and handling of special machine-specific options.
However, this is controlled by a file which is found, along with the
other executables, in the directory for the specified version and
target machine. As a result, a single installed driver program adapts
to any specified target machine and compiler version.
to any specified target machine, and sufficiently similar compiler
versions.
The driver program executable does control one significant thing,
however: the default version and target machine. Therefore, you can
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment