From owner-freebsd-questions Wed Feb 10 01:53:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA06220 for freebsd-questions-outgoing; Wed, 10 Feb 1999 01:53:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lab321.ru (anonymous1.omsk.net.ru [62.76.128.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA06135 for ; Wed, 10 Feb 1999 01:51:33 -0800 (PST) (envelope-from kev@lab321.ru) Received: from www.lab321.ru (kev@www.lab321.ru [62.76.129.65]) by lab321.ru (8.8.8/8.9.1a) with SMTP id PAA06757 for ; Wed, 10 Feb 1999 15:45:50 +0600 (OS) Date: Wed, 10 Feb 1999 15:45:49 +0600 (OS) From: Eugeny Kuzakov To: questions@FreeBSD.ORG Subject: gcc -pthread&-kthread Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! man gcc: -pthread Link a user-threaded process against libc_r instead of libc. Objects linked into user-threaded process- es should be compiled with -D_THREADSAFE. -kthread Link a kernel-threaded process against libpthread ^^^^^^^^^^ in addition to libc. Objects linked into kernel- threaded processes should be compiled with -D_THREADSAFE. I can not find libpthread in any 3.0-{release,stable}. -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message