Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 1999 07:46:18 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        freebsd-hackers@FreeBSD.ORG, rbezuide@oskar.dev.nanoteq.co.za
Subject:   Re: cc -pthread and libc_r question
Message-ID:  <199911101246.HAA20284@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911101246.HAA20284>