From owner-freebsd-hackers Wed Nov 10 4:47:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id D15A6151A2 for ; Wed, 10 Nov 1999 04:47:34 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id HAA20284; Wed, 10 Nov 1999 07:46:18 -0500 (EST) Date: Wed, 10 Nov 1999 07:46:18 -0500 (EST) From: Daniel Eischen Message-Id: <199911101246.HAA20284@pcnet1.pcnet.com> To: freebsd-hackers@FreeBSD.ORG, rbezuide@oskar.dev.nanoteq.co.za Subject: Re: cc -pthread and libc_r question Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've compiled a program with the -pthread compiler option on a > 3.3-STABLe system ... after doing a ldd on the executable I see that > both libc_r AND lic are linked .. is this correct ? No. > Shouldn't libc_r replace libc ? Yes. Are you using a complicated Makefile, GNU configure, or something that may be explicitly including -lc as an option to the linker? Specifying -pthread will not _prevent_ linking against libc if -lc is specified. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message