This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Using a lower version of gcc
- From: "Bill McEnaney" <bill at rkirkpat dot net>
- To: vinayak patil <vinayakmpatil at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Date: Thu, 17 Aug 2006 00:50:05 -0600 (MDT)
- Subject: Re: Using a lower version of gcc
Vinayak,
Gcc's "-V" directive should tell your computer what gcc version to use.
I think that to run version 3.2, you would type, "gcc -V 3.2" and other
directives, if any. Please omit the quotation marks when you type the
command.
Bill
> My school Red Hat system has gcc 3.2 as well as 3.4
> installed on it. By default, all programs make use of
> 3.4. I am trying to compile a program that should work
> with 3.2 but not with 3.4. However, I do not know how
> to force the program to compile using 3.2 instead of
> the default 3.4.
>
> I use:
>
> ./configure --prefix=/path
>
> Could someone please help me with this ? I assume we
> can set a certain flag to specify the old gcc version
> but dont know which. Also, how do we check all the gcc
> versions available ?
>
> Thank you
>
> Vinayak.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
________________________________________________________________
"Pro-choice?" Then click here.
http://cathinsight.com/morality/saying.htm
"In My Egotistical Opinion, most people's C programs should be indented
six feet downward and covered with dirt." ? Blair P. Houghton