This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ help..
j_morelli@uol.com.ar <j_morelli@uol.com.ar> writes:
> Hello,
>
> I send an email before about GCC version, and I want to know now if
> is posible to install two differents versions in the same server,
> just changing the output directory will be enough ?
Read the install documentation carefully, particularly about the
configure option --prefix. My advise is to install both versions
of gcc with different --prefix, more or less like this:
# configure gcc 3.4.0 :
$ cd gcc-3.4.0.objdir
$ ../gcc-3.4.0/configure --prefix=/usr/local/gcc-3.4 # ... rest of args
# configure gcc 3.3.3 :
$ cd gcc-3.3.3.objdir
$ ../gcc-3.3.3/configure --prefix=/usr/local/gcc-3.3.3 # ... rest of args