Re: Help required to upgrade gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 3, 2008 at 5:46 AM, Rupert Wood <me@xxxxxxxxx> wrote:
> Marek wrote:
...
>  To overwrite your existing GCC system you need to use "--prefix=/usr" on the compile

I have used multiple versions of gcc for years (mostly under
redhat/fedora) and have had good luck with installing a new version
under the default /usr/local but using the configure option
'--program-suffix=-X.Y.Z' where the 'X.Y.Z' is the version number.

Then i can use 'gcc-X.Y.Z' or the default 'gcc' as desired, and I've
never had any conflicts beteen the various versions.

-Tom

P.S.  And as Rup mentioned, I NEVER build in the gcc source directory.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux