cvsup gcc

2005-02-28 Thread Jim Pazarena
on 5.3, gcc 3.4.2 sees to have been updated, but doing a make
install doesn't give you the new version 3.4.4 (gcc --version).
what would the procedure be to get the newer gcc set as the default?
thanks, Jim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup gcc

2005-02-28 Thread Charles Swiger
On Feb 28, 2005, at 2:13 PM, Jim Pazarena wrote:
on 5.3, gcc 3.4.2 sees to have been updated, but doing a make
install doesn't give you the new version 3.4.4 (gcc --version).
what would the procedure be to get the newer gcc set as the default?
cd /usr/ports/lang/gcc34
make install
echo CC=/usr/local/bin/gcc  /etc/make.conf
echo C++=/usr/local/bin/g++  /etc/make.conf
Note that you might need to unset the above when building the kernel or 
world.

--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup gcc

2005-02-28 Thread Kris Kennaway
On Mon, Feb 28, 2005 at 02:24:55PM -0500, Charles Swiger wrote:
 On Feb 28, 2005, at 2:13 PM, Jim Pazarena wrote:
 on 5.3, gcc 3.4.2 sees to have been updated, but doing a make
 install doesn't give you the new version 3.4.4 (gcc --version).
 
 what would the procedure be to get the newer gcc set as the default?
 
 cd /usr/ports/lang/gcc34
 make install
 echo CC=/usr/local/bin/gcc  /etc/make.conf
 echo C++=/usr/local/bin/g++  /etc/make.conf
 
 Note that you might need to unset the above when building the kernel or 
 world.

Yes - it's not supported to use a non-system compiler to build kernel
or world, and this will often fail.

Kris



pgpBKE31exHMR.pgp
Description: PGP signature