Date: Fri, 24 Nov 2000 13:53:36 -0600 From: mike.perik@bankofamerica.com To: anand@desktop.com, stable@FreeBSD.ORG Subject: RE: GCC 2.95.x with threads enabled Message-ID: <F931488C3634D11180D700A02461E245036CAC61@chitmd03.nt.il.nbgfn.com>
next in thread | raw e-mail | index | archive | help
I checked my system and didn't find a libgcc_r.a When configuring JTC for building a script gets run that does a : nm 'gcc -print-libgcc-file-name' | grep pthread if it doesn't find anything it won't continue on with the configuration. For now I'm just disabling the check and adding the -pthread argument to see if that will get arround the problem. Mike > -----Original Message----- > From: Anand Ranganathan [SMTP:anand@desktop.com] > Sent: Friday, November 24, 2000 1:30 PM > To: stable@FreeBSD.ORG > Subject: Re: GCC 2.95.x with threads enabled > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F931488C3634D11180D700A02461E245036CAC61>