Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 11:27:20 -0400
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading Included GCC
Message-ID:  <80f4f2b20607100827w30e976b7qdd447f098799eca4@mail.gmail.com>
In-Reply-To: <20060710151828.GC87129@dan.emsphone.com>
References:  <200607100953.14028.bloodofanubis@gmail.com> <20060710151828.GC87129@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/10/06, Dan Nelson <dnelson@allantgroup.com> wrote:
> In the last episode (Jul 10), Jacob Jennings said:
> > Hello, I am on FreeBSD 5.5-STABLE and was wondering if there is a way
> > to replace the system's GCC, shipped with 5.5, (GCC 3.4.2) to GCC 4.1
> > without upgrading the whole source tree to another release? Is there
> > a way to do this that will not include much risk of breaking my
> > system? Thanks.
>
> You can install ports/lang/gcc41, which will give you "gcc41" and
> "g++41" executables.
>
> --
>         Dan Nelson
>         dnelson@allantgroup.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

If I'm reading the OP's comment right, he may try to do what I did the
first time... I was smart enough to back up the overwritten files
first... which saved me a reinstall.

DO NOT replace teh gcc, g++, etc. base files for the GCC compiler with
the newly compiled files, that will cause a lot of compilation issues
for many core things and does not work properly. I don't know why,
but it doesn't; it seems a lot of things get very tied to a particular
version of the compiler.

-Jim Stapleton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20607100827w30e976b7qdd447f098799eca4>