Hi folks, I am running freebsd-stable. Now I have two version gcc installed. One is gcc295 as /usr/bin/gcc, and the other is gcc32 as /usr/local/bin/gcc32. I just wonder know whether I can choose any of them as default one which can be detected by configure script, because different softwares require different versions of gcc. Thanks! Peng ====Best wishes, Yours sincerely, Zhang, Peng __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
On Fri, 26 Sep 2003, Zhang, Peng wrote:> Hi folks, > > I am running freebsd-stable. Now I have two version > gcc installed. One is gcc295 as /usr/bin/gcc, and the > other is gcc32 as /usr/local/bin/gcc32. I just wonder > know whether I can choose any of them as default one > which can be detected by configure script, because > different softwares require different versions of gcc. > Thanks!Well I wouldn't try to build -stable with 3.2, but if you need to override it on a per-package basis and it uses autoconf, this sort of thing works: CC=gcc32 ./configure .... You can also change the CC variable in makefiles. If its written extra correctly then you can do make CC=gcc32 target.. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
Hi, Thanks for the reply. I think I can do this. However everytime you want to install a software, you need read the Makefile to figure out which variables you need set up. Is there something like use.perl for gcc? Peng On Fri, 2003-09-26 at 10:55, Thomas T. Veldhouse wrote:> Did you ever try: > > # export CC=/usr/local/bin/gcc32 > # ./configure > > Most of the time CC will be used as the compiler if set. > > Tom Veldhouse > > ----- Original Message ----- > From: "Zhang, Peng" <colin_zp@yahoo.com> > To: <freebsd-stable@freebsd.org> > Sent: Friday, September 26, 2003 9:23 AM > Subject: about gcc > > > > Hi folks, > > > > I am running freebsd-stable. Now I have two version > > gcc installed. One is gcc295 as /usr/bin/gcc, and the > > other is gcc32 as /usr/local/bin/gcc32. I just wonder > > know whether I can choose any of them as default one > > which can be detected by configure script, because > > different softwares require different versions of gcc. > > Thanks! > > > > Peng > > > > ====> > Best wishes, > > > > Yours sincerely, > > > > Zhang, Peng > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product search > > http://shopping.yahoo.com > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > >
Hello, I lost the previous thread on the psm0 lock but also wanted to report that after cvsup-ing for the arp patch and rebuilding that the lockup still occurs, any leads on a fix/workaround? (Besides removing psm0 or disabling the sound card). Jorge