Click to See Complete Forum and Search --> : gcc 3.0.1 to gcc 2.95.3


dvhas
10-30-2001, 09:02 AM
I the past I have had some complications in compiling programs. I have read on linuxnewbie and in some other placeses that gcc 2.95.3 is the best compiler and that the new ones are buggy.

So how would I got about installing a older version of the compiler?

Thanks

David

chikn
10-30-2001, 03:19 PM
If you have and RPM based distro then

rpm -e gcc-x.x.x

then install the new one

Ive got 3.0.1 on all my slack boxen and all I did there was read the install docs and installed over and it took without problem. Remember you have to have some compiler before you can compile.

I use 2.96.0 and havent had a problem compiling anything with it. Make sure whenever you compile a program to read through all of the configure options (and documentation), most of the time compiling errors can be resolved by passing the right parameters before trying to make it.

[ 30 October 2001: Message edited by: chikn ]

nathaniel
10-30-2001, 03:19 PM
if you are running RH just grab the gcc files from rpmfind.net and do a
rpm -qa |grep gcc
which will search and display the gcc packages and then do a rpm -e 'the exact name that is displayed' for each package listed.

Then do a rpm -ivh <new older gccpackage>

if u don't have rpms u will need to get the src code and compile gcc with the option ./configure --enable=c,c++ ( I believe do a ./configure --help) to see the list of option configure can handle.

NB

nathaniel
10-30-2001, 03:22 PM
I know that the newest gcc3 can compile several things correctly mplayer, winex,wine, aviplay. . . just have to specify what version of gcc u have, ex. for mplayer you would do ./confgure --cc=gcc3 and it finds everything nicely.

NB

dvhas
10-30-2001, 11:22 PM
Originally posted by nathaniel:
<STRONG>I know that the newest gcc3 can compile several things correctly mplayer, winex,wine, aviplay. . . just have to specify what version of gcc u have, ex. for mplayer you would do ./confgure --cc=gcc3 and it finds everything nicely.

NB</STRONG>

mplayer and wine/winex are the one's I'm really interested in.

If you guys are right bout 3.0.1 working so well, then I think I know were my problem is.
http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=4&t=014408

Any help on this topic?


Thanks

David