PDA

View Full Version : Help for ppl with gcc3x


tufkal
10-05-2002, 02:29 PM
I got 0.3.9 to compile finally on my Mandrake 9.0 box and ill share how.

First of all Mandrake 9.0 comes w/ gcc 3.2, Knuong will tell you, and I can concur, its almost impossible to compile under 3.x.

I installed gcc2.96 rpm from my mandrake CD. Then the trtick was to tell it to use that isntead of 3.2

Chaning the make file to use gcc -V 2.96 DOES NOT WORK for some reason.

Under mandrake there is a feature (which is from debian) called update-alternatives

You can run this as root and you want to type it like this

update-alternatives --verbose --config gcc

It will ask you what version of gcc you want linked the the 'gcc' command basically. It gave me choice of 3.2 or 2.96. I chose 2.96 then went back and it compiled. Of course billions of warnings as but that is normal :) No errors and it does run.

Hope that helps!

Tufkal

devn00b
10-05-2002, 04:42 PM
runs fine with Gcc 3.2 on my RH box

tufkal
10-05-2002, 05:19 PM
didnt say it was impossible :) Just saying my experience

devn00b
10-05-2002, 06:51 PM
hehe was realy nice too..1st time compiling eqemu on linux box..unzipped it.. compiled...no errors.