public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* HELP - Downgrading gcc
@ 2003-02-06 17:42 Es Que
  2003-02-07  1:16 ` Ricardo Anguiano
  0 siblings, 1 reply; 2+ messages in thread
From: Es Que @ 2003-02-06 17:42 UTC (permalink / raw)
  To: gcc-help

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?


Thanks in advance,
Esque



_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HELP - Downgrading gcc
  2003-02-06 17:42 HELP - Downgrading gcc Es Que
@ 2003-02-07  1:16 ` Ricardo Anguiano
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Anguiano @ 2003-02-07  1:16 UTC (permalink / raw)
  To: Es Que; +Cc: gcc-help

"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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-07  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 17:42 HELP - Downgrading gcc Es Que
2003-02-07  1:16 ` Ricardo Anguiano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).