diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2001-06-30 08:46:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2001-06-30 08:46:31 +0000 |
commit | 07804c3b7d630c9e75a42f74f2eec39dba49aa64 (patch) | |
tree | f078a945da21af809e03e047a7c58790767cfd57 /gcc/doc | |
parent | bc2fa2fd2e5bd9841a1f889cd14d99649f3022b0 (diff) | |
download | gcc-07804c3b7d630c9e75a42f74f2eec39dba49aa64.zip gcc-07804c3b7d630c9e75a42f74f2eec39dba49aa64.tar.gz gcc-07804c3b7d630c9e75a42f74f2eec39dba49aa64.tar.bz2 |
Append a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
create a valid directory name.
From-SVN: r43664
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6b24133..37645eb 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4398,6 +4398,10 @@ those results in a file name that is found, the unmodified program 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 @@ -4414,6 +4418,10 @@ 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 Process @var{file} after the compiler reads in the standard @file{specs} |