aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2001-06-15 07:18:55 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2001-06-15 07:18:55 +0000
commitf6160ed58de8544f79fc044cc52d44ab2512260c (patch)
tree10e88c91d85aed3611dd553e8ed9a946056df708
parent7972214e5c030e4a8f0a9be22dbaf0809a6686d5 (diff)
downloadgcc-f6160ed58de8544f79fc044cc52d44ab2512260c.zip
gcc-f6160ed58de8544f79fc044cc52d44ab2512260c.tar.gz
gcc-f6160ed58de8544f79fc044cc52d44ab2512260c.tar.bz2
* doc/install.texi: Update --enable-threads to match reality.
From-SVN: r43393
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/install.texi30
2 files changed, 25 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5643bc3..42446df 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-15 Loren J. Rittle <ljrittle@acm.org>
+
+ * doc/install.texi: Update --enable-threads to match reality.
+
2001-06-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* doc/install.texi: Update for C4x.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 73fe48d..0483600 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -33,7 +33,7 @@
@settitle Installing GCC: Binaries
@end ifset
-@comment $Id: install.texi,v 1.24 2001/06/14 22:51:17 jsm28 Exp $
+@comment $Id: install.texi,v 1.25 2001/06/15 01:07:46 m.hayes Exp $
@c Copyright (C) 2001 Free Software Foundation, Inc.
@c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
@@ -455,6 +455,16 @@ supports threads. This affects the Objective-C compiler and runtime
library, and exception handling for other languages like C++ and Java.
On some systems, this is the default.
+In general, the best (and, in many cases, the only known) threading
+model available will be configured for use. Beware that on some
+systems, gcc has not been taught what threading models are generally
+available for the system. In this case, @samp{--enable-threads} is an
+alias for @samp{--enable-threads=single}.
+
+@item --disable-threads
+Specify that threading support should be disabled for the system.
+This is an alias for @samp{--enable-threads=single}.
+
@item --enable-threads=@var{lib}
Specify that
@var{lib} is the thread support library. This affects the Objective-C
@@ -466,18 +476,20 @@ like C++ and Java. The possibilities for @var{lib} are:
AIX thread support.
@item dce
DCE thread support.
-@item decosf1
-DEC OSF/1 thread support.
-@item irix
-SGI IRIX thread support.
@item mach
-Generic MACH thread support, known to work on NEXTSTEP.
-@item os2
-IBM OS/2 thread support.
+Generic MACH thread support, known to work on NEXTSTEP. (Please note
+that the file needed to support this configuration, gthr-mach.h, is
+missing and thus this setting will cause a known bootstrap failure.)
+@item no
+This is an alias for @samp{single}.
@item posix
Generic POSIX thread support.
@item pthreads
-Same as @samp{posix}.
+Same as @samp{posix} on arm*-*-linux*, *-*-chorusos* and *-*-freebsd*
+only. A future release of gcc might remove this alias or extend it
+to all platforms.
+@item rtems
+RTEMS thread support.
@item single
Disable thread support, should work for all platforms.
@item solaris