On Wed, Feb 07, 2001 at 04:23:23PM +0100, jpgb <[EMAIL PROTECTED]> wrote:
| I want to install an older compiler on RedHat 7 and compile a program with thi
s .Can somebody tell me how I can do it?

If it's gcc (eg gcc-2.95.*):

        - fetch and unpack the source
        - configure with a _different_ prefix to the default, eg:

                ./configure --prefix=/opt/gcc-2.95.2

        - make
        - make test
        - make install

Then stick /opt/gcc-2.95.2 in your $PATH.

Hack above recipe to suit.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Louis Pasteur's theory of germs is ridiculous fiction.
       --Pierre Pachet, Professor of Physiology at Toulouse, 1872



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to