OK. I downloaded the latest and greatest GCC 3.1 SRPM from Redhat's
FTP site:
ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/gcc-3.1-7.s...
Now I'd like to build and install GCC 3.1 along side GCC 2.96 on my RH
7.3 system. How is this done? FWIW, when I do the following,
% cd /usr/src/redhat
% rpm -Uvh SRPMS/gcc-3.1-7.src.rpm
% rpm -bb SPECS/gcc31.spec
I end up with i386.rpm's that replace the existing GCC 2.96
installation.
FWIW, I don't really care where the resulting i386.rpm binaries install
GCC 3.1 on my system -- e.g., a special directory (e.g.,
/usr/share/gcc3.1), or in the "usual" installation paths (e.g.,
/usr/bin/gcc3, /usr/include/g++-3, /usr/lib/gcc-lib, etc.), whatever.
I just need to make sure the GCC 3.1 installation[1] is functional, and
that it does not replace or corrupt the existing GCC 2.96 installation.
[1] Specifically, gcc and g++ (and their supporting programs [e.g.,
cpp]) need to be functional. I'm not using any of the other compilers in
the GCC 3.1 bundle.
[n.b. I've already downloaded and installed the other prerequisites --
e.g., the latest binutils, the latest glibc, etc. Also, I *need* to
build GCC 3.1 from its sources. Downloading someone else's precompiled
i386 RPMs of GCC 3.1 is not an option for me...]
Jim