Bug 47246

Summary: gcc man page incorrectly mentions -kthread switch
Product: Documentation Reporter: Ivan Voras <ivoras>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ivan Voras 2003-01-20 10:30:01 UTC
The gcc man page states:
---
FreeBSD SPECIFIC OPTIONS
       -pthread
       Link a user-threaded process against libc_r instead
       of libc. Objects linked into user-threaded process-
       es should be compiled with -D_THREAD_SAFE.
												 
       -kthread
       Link  a  kernel-threaded process against libpthread
       in addition to libc.  Objects linked  into  kernel-
       threaded   processes   should   be   compiled  with
       -D_THREAD_SAFE.
---
Of which the "-kthread" option is non-existant.

(ref. stable@freebsd.org 
Message-ID: <20030120082339.GC92001@rot13.obsecurity.org>)

Fix: 

Remove everything about -kthread.
How-To-Repeat: man gcc
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2003-02-05 03:07:51 UTC
State Changed
From-To: open->closed

Removed.  Thanks for pointing this out!