[RFA] Append / to -B
Nick Clifton
nickc@cambridge.redhat.com
Sat Jun 30 01:47:00 GMT 2001
Hi Joseph,
> You need to document this in invoke.texi. Also documentation for the
> -BstageN/ kludge would be desirable, even if it is a bit obscure.
OK, I add this to the patch:
Cheers
Nick
2001-06-29 Nick Clifton <nickc@cambridge.redhat.com>
* doc/invoke.texi: Document changed behaviour of -B.
Index: gcc/doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.25
diff -p -r1.25 invoke.texi
*** invoke.texi 2001/06/29 20:35:53 1.25
--- invoke.texi 2001/06/30 08:44:12
*************** those results in a file name that is fou
*** 4398,4403 ****
--- 4398,4407 ----
name is searched for using the directories specified in your
@env{PATH} environment variable.
+ The compiler will check to see if the path provided by the @option{-B}
+ refers to a directory, and if necessary it will add a directory
+ separator character at the end of the path.
+
@option{-B} prefixes that effectively specify directory names also apply
to libraries in the linker, because the compiler translates these
options into @option{-L} options for the linker. They also apply to
*************** out of the link if it is not found by th
*** 4413,4418 ****
--- 4417,4426 ----
Another way to specify a prefix much like the @option{-B} prefix is to use
the environment variable @env{GCC_EXEC_PREFIX}. @xref{Environment
Variables}.
+
+ As a special kludge, if the path provided by @option{-B} is
+ @samp{[foo/]stage<N>/} then it will be replaced by
+ @samp{[foo/]include}. This is to help with boot-strapping the compiler.
@item -specs=@var{file}
@opindex specs
More information about the Gcc-patches
mailing list