aboutsummaryrefslogtreecommitdiff
path: root/gcc/install.texi
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-08-14 22:04:44 +0000
committerRichard Henderson <rth@gcc.gnu.org>1999-08-14 15:04:44 -0700
commitf4ab28e3c6d7c75dea19860717bcab77f4bd332f (patch)
tree516d875124e45da7df656ea365b654044f3d7ecc /gcc/install.texi
parentefc3b511cbb097b9e8ce05a9ff44e1d8b7435528 (diff)
downloadgcc-f4ab28e3c6d7c75dea19860717bcab77f4bd332f.zip
gcc-f4ab28e3c6d7c75dea19860717bcab77f4bd332f.tar.gz
gcc-f4ab28e3c6d7c75dea19860717bcab77f4bd332f.tar.bz2
Mumit Khan <khan@xraylith.wisc.edu>
* configure.in: Handle --disable/enable-win32-registry. * install.texi: Document --disable/enable-win32-registry. * acconfig.h (ENABLE_WIN32_REGISTRY): New macro. (WIN32_REGISTRY_KEY): New macro. * prefix.c: Use to enable/disable win32-specific code. (lookup_key): Use versioned key. * configure: Regenerate. * config.in: Likewise. From-SVN: r28712
Diffstat (limited to 'gcc/install.texi')
-rw-r--r--gcc/install.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/install.texi b/gcc/install.texi
index cb8c16d..d1f0602 100644
--- a/gcc/install.texi
+++ b/gcc/install.texi
@@ -305,6 +305,25 @@ inferior @code{catgets} interface, the GCC build procedure normally
ignores @code{catgets} and instead uses GCC's copy of the GNU
@code{gettext} library. The @samp{--with-catgets} option causes the
build procedure to use the host's @code{catgets} in this situation.
+
+@cindex Windows32 Registry support
+@item --enable-win32-registry
+@itemx --enable-win32-registry=@var{KEY}
+@itemx --disable-win32-registry
+The @samp{--enable-win32-registry} option enables Windows-hosted GCC
+to look up installations paths in the registry using the following key:
+
+@smallexample
+@code{HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\<KEY>}
+@end smallexample
+
+<KEY> defaults to GCC version number, and can be overridden by the
+@code{--enable-win32-registry=KEY} option. Vendors and distributors
+who use custom installers are encouraged to provide a different key,
+perhaps one comprised of vendor name and GCC version number, to
+avoid conflict with existing installations. This feature is enabled
+by default, and can be disabled by @code{--disable-win32-registry}
+option. This option has no effect on the other hosts.
@end table
@item