Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 23:00:18 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Thaddeus J. Quintin" <quintin@ohio.edu>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Installing new versions of GCC
Message-ID:  <00eb01c2c681$c7170290$1200a8c0@gsicomp.on.ca>
References:  <001401c2c67e$0e734710$0200a8c0@tjqathlonpc>

next in thread | previous in thread | raw e-mail | index | archive | help
> Wow, Thanks for all of the responses.
>
> First off, that was a typo in my original email.
>
> I was running make in /usr/ports/lang/gcc32.
>
> Now, I tried a few things.  I ran 'make clean' to start over, 'make',
> 'make deinstall', and then 'make install'.
>
> When that's done, I end up with gcc32 (and g++32, etc) in
> /usr/local/bin.
>
> So, THAT appears to be working alright.  However, the original gcc
> (etc.) remain in /usr/bin.

As would be expected.  If you plan on recompiling your kernel, you need to
have the "system gcc" around or else things will get screwy.

If you want to compile using gcc32, just use gcc32 intead of gcc.  To get
configure to use your new compile, do this:

./configure CC=gcc32 CXX=g++32

--
Matt Emmerton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00eb01c2c681$c7170290$1200a8c0>