View Single Post
  #1  
Old 10-05-2002, 02:29 PM
tufkal
Fire Beetle
 
Join Date: Sep 2002
Posts: 12
Default Help for ppl with gcc3x

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
Reply With Quote