summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/gcc.1
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-04-10 09:19:11 +0000
committerjb <jb@FreeBSD.org>1998-04-10 09:19:11 +0000
commit035d92130a4cee29b1f740fbdfd818a0087bca19 (patch)
treebf67831d54f243fcc616a9e9345ad8bcf40f5ba7 /contrib/gcc/gcc.1
parenta2dbd182f51493424bfe30b62c514c22064c630d (diff)
downloadFreeBSD-src-035d92130a4cee29b1f740fbdfd818a0087bca19.zip
FreeBSD-src-035d92130a4cee29b1f740fbdfd818a0087bca19.tar.gz
Document the FreeBSD specific options from LIB_SPEC.
Diffstat (limited to 'contrib/gcc/gcc.1')
-rw-r--r--contrib/gcc/gcc.110
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/gcc/gcc.1 b/contrib/gcc/gcc.1
index b693fbb..f1a72e6 100644
--- a/contrib/gcc/gcc.1
+++ b/contrib/gcc/gcc.1
@@ -521,6 +521,16 @@ in the following sections.
\-fverbose\-asm
.ad b
.hy 1
+.SH FreeBSD SPECIFIC OPTIONS
+.TP
+.BI "\-pthread"
+Link a user-threaded process against libc_r instead of libc. Objects linked
+into user-threaded processes should be compiled with -D_THREADSAFE.
+.TP
+.BI "\-kthread"
+Link a kernel-threaded process against libpthread in addition to libc.
+Objects linked into kernel-threaded processes should be compiled with
+-D_THREADSAFE.
.SH OVERALL OPTIONS
.TP
.BI "\-x " "language"
OpenPOWER on IntegriCloud