Commit 8e5f33ff by Geoffrey Keating Committed by Geoffrey Keating

sourcebuild.texi (Front End Directory): Don't make references to libsubdir, it's…

sourcebuild.texi (Front End Directory): Don't make references to libsubdir, it's not part of the interface to frontends.

	* doc/sourcebuild.texi (Front End Directory): Don't make references
	to libsubdir, it's not part of the interface to frontends.
	* doc/install.texi (Configuration): Help users read faster by saying
	that GCC's configure options are the standard autoconf ones.
	Mention --libdir.  Update the default rules for finding the
	assembler.  Don't use libsubdir since we haven't said what it means.
	(Specific): In the Solaris 7 notes, update the place to put the
	assembler.
	* doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
	* doc/cpp.texi (Search Path): Actually, the search path
	depends on libdir, which can relocate with cpp.
	* doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
	now a private interface between the Makefile and the driver.

From-SVN: r70073
parent 75c20980
2003-08-01 Geoffrey Keating <geoffk@apple.com>
* doc/sourcebuild.texi (Front End Directory): Don't make references
to libsubdir, it's not part of the interface to frontends.
* doc/install.texi (Configuration): Help users read faster by saying
that GCC's configure options are the standard autoconf ones.
Mention --libdir. Update the default rules for finding the
assembler. Don't use libsubdir since we haven't said what it means.
(Specific): In the Solaris 7 notes, update the place to put the
assembler.
* doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
* doc/cpp.texi (Search Path): Actually, the search path
depends on libdir, which can relocate with cpp.
* doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
now a private interface between the Makefile and the driver.
2003-08-01 Richard Henderson <rth@redhat.com> 2003-08-01 Richard Henderson <rth@redhat.com>
* system.h: Poison ASM_SIMPLIFY_DWARF_ADDR. * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
......
...@@ -852,7 +852,7 @@ requested with @code{@w{#include <@var{file}>}} in: ...@@ -852,7 +852,7 @@ requested with @code{@w{#include <@var{file}>}} in:
@example @example
/usr/local/include /usr/local/include
/usr/lib/gcc-lib/@var{target}/@var{version}/include @var{libdir}/gcc/@var{target}/@var{version}/include
/usr/@var{target}/include /usr/@var{target}/include
/usr/include /usr/include
@end example @end example
......
...@@ -540,8 +540,8 @@ beneath a user's home directory tree, some shells will not expand ...@@ -540,8 +540,8 @@ beneath a user's home directory tree, some shells will not expand
@var{dirname} correctly if it contains the @samp{~} metacharacter; use @var{dirname} correctly if it contains the @samp{~} metacharacter; use
@env{$HOME} instead. @env{$HOME} instead.
These additional options control where certain parts of the distribution The following standard @command{autoconf} options are supported. Normally you
are installed. Normally you should not need to use these options. should not need to use these options.
@table @code @table @code
@item --exec-prefix=@var{dirname} @item --exec-prefix=@var{dirname}
Specify the toplevel installation directory for architecture-dependent Specify the toplevel installation directory for architecture-dependent
...@@ -554,7 +554,11 @@ Specify the installation directory for the executables called by users ...@@ -554,7 +554,11 @@ Specify the installation directory for the executables called by users
@item --libdir=@var{dirname} @item --libdir=@var{dirname}
Specify the installation directory for object code libraries and Specify the installation directory for object code libraries and
internal parts of GCC@. The default is @file{@var{exec-prefix}/lib}. internal data files of GCC@. The default is @file{@var{exec-prefix}/lib}.
@item --libexecdir=@var{dirname}
Specify the installation directory for internal executables of GCC@.
The default is @file{@var{exec-prefix}/libexec}.
@item --with-slibdir=@var{dirname} @item --with-slibdir=@var{dirname}
Specify the installation directory for the shared libgcc library. The Specify the installation directory for the shared libgcc library. The
...@@ -759,13 +763,14 @@ than the one found by the standard rules to find an assembler, which ...@@ -759,13 +763,14 @@ than the one found by the standard rules to find an assembler, which
are: are:
@itemize @bullet @itemize @bullet
@item @item
Check the Check the @file{@var{libexec}/gcc/@var{target}/@var{version}}
@file{@var{exec_prefix}/lib/gcc-lib/@var{target}/@var{version}} directory, where @var{libexec} defaults to
directory, where @var{exec_prefix} defaults to @var{prefix} which @file{@var{exec-prefix}/libexec} and @var{exec-prefix} defaults to
defaults to @file{/usr/local} unless overridden by the @var{prefix} which defaults to @file{/usr/local} unless overridden by
@option{--prefix=@var{pathname}} switch described above. @var{target} is the the @option{--prefix=@var{pathname}} switch described
target system triple, such as @samp{sparc-sun-solaris2.7}, and above. @var{target} is the target system triple, such as
@var{version} denotes the GCC version, such as 3.0. @samp{sparc-sun-solaris2.7}, and @var{version} denotes the GCC
version, such as 3.0.
@item @item
Check operating system specific directories (e.g.@: @file{/usr/ccs/bin} on Check operating system specific directories (e.g.@: @file{/usr/ccs/bin} on
Sun Solaris 2). Sun Solaris 2).
...@@ -952,9 +957,9 @@ to do so. ...@@ -952,9 +957,9 @@ to do so.
@item --enable-version-specific-runtime-libs @item --enable-version-specific-runtime-libs
Specify Specify
that runtime libraries should be installed in the compiler specific that runtime libraries should be installed in the compiler specific
subdirectory (@file{@var{libsubdir}}) rather than the usual places. In subdirectory (@file{@var{libdir}/gcc}) rather than the usual places. In
addition, @samp{libstdc++}'s include files will be installed in addition, @samp{libstdc++}'s include files will be installed into
@file{@var{libsubdir}/include/g++} unless you overruled it by using @file{@var{libdir}} unless you overruled it by using
@option{--with-gxx-include-dir=@var{dirname}}. Using this option is @option{--with-gxx-include-dir=@var{dirname}}. Using this option is
particularly useful if you intend to use several versions of GCC in particularly useful if you intend to use several versions of GCC in
parallel. This is currently supported by @samp{libf2c} and parallel. This is currently supported by @samp{libf2c} and
...@@ -1599,15 +1604,17 @@ We strongly recommend to install into a target directory where there is ...@@ -1599,15 +1604,17 @@ We strongly recommend to install into a target directory where there is
no previous version of GCC present. no previous version of GCC present.
That step completes the installation of GCC; user level binaries can That step completes the installation of GCC; user level binaries can
be found in @file{@var{prefix}/bin} where @var{prefix} is the value you be found in @file{@var{prefix}/bin} where @var{prefix} is the value
specified with the @option{--prefix} to configure (or @file{/usr/local} you specified with the @option{--prefix} to configure (or
by default). (If you specified @option{--bindir}, that directory will @file{/usr/local} by default). (If you specified @option{--bindir},
be used instead; otherwise, if you specified @option{--exec-prefix}, that directory will be used instead; otherwise, if you specified
@file{@var{exec-prefix}/bin} will be used.) Headers for the C++ and @option{--exec-prefix}, @file{@var{exec-prefix}/bin} will be used.)
Java libraries are installed in @file{@var{prefix}/include}; libraries Headers for the C++ and Java libraries are installed in
in @file{@var{libdir}} (normally @file{@var{prefix}/lib}); internal @file{@var{prefix}/include}; libraries in @file{@var{libdir}}
parts of the compiler in @file{@var{libdir}/gcc-lib}; documentation in (normally @file{@var{prefix}/lib}); internal parts of the compiler in
info format in @file{@var{infodir}} (normally @file{@var{prefix}/info}). @file{@var{libdir}/gcc} and @file{@var{libexecdir}/gcc}; documentation
in info format in @file{@var{infodir}} (normally
@file{@var{prefix}/info}).
When installing cross-compilers, GCC's executables When installing cross-compilers, GCC's executables
are not only installed into @file{@var{bindir}}, that are not only installed into @file{@var{bindir}}, that
...@@ -3213,7 +3220,7 @@ back it out. ...@@ -3213,7 +3220,7 @@ back it out.
@item @item
Copy the original, unpatched Solaris 7 Copy the original, unpatched Solaris 7
@command{/usr/ccs/bin/as} into @command{/usr/ccs/bin/as} into
@command{/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.1/as}, @command{/usr/local/libexec/gcc/sparc-sun-solaris2.7/3.4/as},
adjusting the latter name to fit your local conventions and software adjusting the latter name to fit your local conventions and software
version numbers. version numbers.
......
...@@ -5076,7 +5076,7 @@ without @samp{@var{machine}/@var{version}/} (@pxref{Target Options}). ...@@ -5076,7 +5076,7 @@ without @samp{@var{machine}/@var{version}/} (@pxref{Target Options}).
For each subprogram to be run, the compiler driver first tries the For each subprogram to be run, the compiler driver first tries the
@option{-B} prefix, if any. If that name is not found, or if @option{-B} @option{-B} prefix, if any. If that name is not found, or if @option{-B}
was not specified, the driver tries two standard prefixes, which are was not specified, the driver tries two standard prefixes, which are
@file{/usr/lib/gcc/} and @file{/usr/local/lib/gcc-lib/}. If neither of @file{/usr/lib/gcc/} and @file{/usr/local/lib/gcc/}. If neither of
those results in a file name that is found, the unmodified program those results in a file name that is found, the unmodified program
name is searched for using the directories specified in your name is searched for using the directories specified in your
@env{PATH} environment variable. @env{PATH} environment variable.
...@@ -11430,7 +11430,7 @@ If GCC cannot find the subprogram using the specified prefix, it ...@@ -11430,7 +11430,7 @@ If GCC cannot find the subprogram using the specified prefix, it
tries looking in the usual places for the subprogram. tries looking in the usual places for the subprogram.
The default value of @env{GCC_EXEC_PREFIX} is The default value of @env{GCC_EXEC_PREFIX} is
@file{@var{prefix}/lib/gcc-lib/} where @var{prefix} is the value @file{@var{prefix}/lib/gcc/} where @var{prefix} is the value
of @code{prefix} when you ran the @file{configure} script. of @code{prefix} when you ran the @file{configure} script.
Other prefixes specified with @option{-B} take precedence over this prefix. Other prefixes specified with @option{-B} take precedence over this prefix.
...@@ -11440,7 +11440,7 @@ used for linking. ...@@ -11440,7 +11440,7 @@ used for linking.
In addition, the prefix is used in an unusual way in finding the In addition, the prefix is used in an unusual way in finding the
directories to search for header files. For each of the standard directories to search for header files. For each of the standard
directories whose name normally begins with @samp{/usr/local/lib/gcc-lib} directories whose name normally begins with @samp{/usr/local/lib/gcc}
(more precisely, with the value of @env{GCC_INCLUDE_DIR}), GCC tries (more precisely, with the value of @env{GCC_INCLUDE_DIR}), GCC tries
replacing that beginning with the specified prefix to produce an replacing that beginning with the specified prefix to produce an
alternate directory name. Thus, with @option{-Bfoo/}, GCC will search alternate directory name. Thus, with @option{-Bfoo/}, GCC will search
......
...@@ -561,8 +561,7 @@ FIXME: what is this target for? ...@@ -561,8 +561,7 @@ FIXME: what is this target for?
@item install-common @item install-common
Install everything that is part of the front end, apart from the Install everything that is part of the front end, apart from the
compiler executables listed in @code{compilers} in compiler executables listed in @code{compilers} in
@file{config-lang.in} that are installed in @file{@var{libsubdir}} by @file{config-lang.in}.
the main @file{Makefile}.
@item install-info @item install-info
Install info documentation for the front end, if it is present in the Install info documentation for the front end, if it is present in the
source directory. (It may not be present if a suitable version of source directory. (It may not be present if a suitable version of
...@@ -650,8 +649,8 @@ If defined to @samp{yes}, this front end is built in stage 1 of the ...@@ -650,8 +649,8 @@ If defined to @samp{yes}, this front end is built in stage 1 of the
bootstrap. This is only relevant to front ends written in their own bootstrap. This is only relevant to front ends written in their own
languages. languages.
@item compilers @item compilers
If defined, a space-separated list of compiler executables that should If defined, a space-separated list of compiler executables that will
be installed in @file{@var{libsubdir}}. The names here will each end be run by the driver. The names here will each end
with @samp{\$(exeext)}. with @samp{\$(exeext)}.
@item stagestuff @item stagestuff
If defined, a space-separated list of files that should be moved to If defined, a space-separated list of files that should be moved to
......
...@@ -439,12 +439,6 @@ a @option{-B} prefix into a @option{-L} linker option if the prefix ...@@ -439,12 +439,6 @@ a @option{-B} prefix into a @option{-L} linker option if the prefix
indicates an absolute file name. indicates an absolute file name.
@end defmac @end defmac
@defmac STANDARD_EXEC_PREFIX
Define this macro as a C string constant if you wish to override the
standard choice of @file{/usr/local/lib/gcc-lib/} as the default prefix to
try when searching for the executable files of the compiler.
@end defmac
@defmac MD_EXEC_PREFIX @defmac MD_EXEC_PREFIX
If defined, this macro is an additional prefix to try after If defined, this macro is an additional prefix to try after
@code{STANDARD_EXEC_PREFIX}. @code{MD_EXEC_PREFIX} is not searched @code{STANDARD_EXEC_PREFIX}. @code{MD_EXEC_PREFIX} is not searched
......
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