This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: HELP - Downgrading gcc
- From: Ricardo Anguiano <anguiano at codesourcery dot com>
- To: "Es Que" <esque2222 at hotmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 06 Feb 2003 14:34:18 -0800
- Subject: Re: HELP - Downgrading gcc
- References: <F1678bpLhCKP2WOkwCd00010b4a@hotmail.com>
"Es Que" <esque2222@hotmail.com> writes:
> I'm am trying to compile openmosix on the 2.4.19 linux kernel and I
> need gcc version 2.95. However, my Debian system seems to have
> installed both gcc 2.95 and gcc 3.22. (it automatically installs
> 3.2.2 when I try to install 2.95) Is there some way that I can run
> "make" (make clean, make menuconfig etc) and specify which version
> of gcc to use? If not, is there a step-by-step process for
> downgrading gcc?
It should be unnecessary to remove gcc 3.2.2: Multiple compilers can
coexist on the same system.
To choose a compiler set the CC or CXX environment variable to the
compiler you would like to use. For example:
$ export CC=/usr/local/bin/gcc295
$ ./configure
[...]
--
Ricardo Anguiano
http://www.codesourcery.com