From owner-freebsd-stable Fri Nov 24 11:29:41 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wooster.jumpdata.com (flimsy.lean.to [166.90.128.243]) by hub.freebsd.org (Postfix) with ESMTP id 42A9D37B479 for ; Fri, 24 Nov 2000 11:29:39 -0800 (PST) Received: (from anand@localhost) by wooster.jumpdata.com (8.11.1/8.11.1) id eAOJTaw23028 for stable@FreeBSD.ORG; Fri, 24 Nov 2000 11:29:36 -0800 (PST) (envelope-from anand) Date: Fri, 24 Nov 2000 11:29:36 -0800 From: Anand Ranganathan To: stable@FreeBSD.ORG Subject: Re: GCC 2.95.x with threads enabled Message-ID: <20001124112936.A22949@desktop.com> Reply-To: anand@desktop.com Mail-Followup-To: Anand Ranganathan , stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mike.perik@bankofamerica.com on Fri, Nov 24, 2000 at 10:41:00AM -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mike.perik@bankofamerica.com quoth: > I'm attempting to build JTC 1.0.13 and Orbacus 4.0.3 on a SMP (2x100 mhz) > box. The first step is to build JTC but it needs a version of the compiler > that has threads enabled. The default gcc does not have threads enabled so > I poked around in the /usr/src/contrib directory and really got no where. I > downloaded the source and was going to build it and install it into > /usr/local. I finally got that finished but it still doesn't seem to have > threads enabled in it. JTC/Orbacus checks for thread support by doing an nm > on libgcc.a and grep'ing for 'thread'. I know I used the --enable-threads > option on configure so I'm at a loss as to what is the problem. > > Has anybody else dealt with this? How did you resolve it? > > I'm running a 4.1 machine. and the gcc version is 2.95.2. What you need is to compile with the -pthread option. See man gcc :) Anand -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message