From owner-freebsd-questions Sat Apr 24 13:59:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id 15CC8152E5 for ; Sat, 24 Apr 1999 13:59:36 -0700 (PDT) (envelope-from kip@lyris.com) Received: from mail.lyris.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id NAA23440; Sat, 24 Apr 1999 13:54:21 -0700 (PDT) Received: from (luna.shelby.com [207.90.155.6]) by mail.lyris.com with SMTP (MailShield v1.50); Sat, 24 Apr 1999 13:59:21 -0700 Date: Sat, 24 Apr 1999 13:54:21 -0700 (PDT) From: X-Sender: kip@luna To: Alfred Perlstein Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD linking against libc_r instead of libc In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: bright@rush.net,freebsd-questions@FreeBSD.ORG X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is true -- however the default configuration of egcs on FreeBSD creates a g++ binary which does not recognize the -pthread flag, and neither the egcs package's eg++ nor the pgcc port's eg++ recognize it. prompt> eg++ -pthread myfile.cpp eg++: unrecognized option `-pthread' On Sat, 24 Apr 1999, Alfred Perlstein wrote: > On Sat, 24 Apr 1999 kip@lyris.com wrote: > > > > > > > How do I configure egcs on FreeBSD so that it not only recognizes the > > -pthread flag but also interprets it as linking against libc_r as opposed > > to libc? Any help would be much appreciated. > > Thanks. > > i think -pthread implies linkage against libc_r. > > -Alfred > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message