![]() |
question about compiling under linux
Hello, I'm trying to compile the podbot under Mandrake 10. Since I have no experiences programming with linux, I have no idea what's going on here. When I type make:
Code:
gcc-2.95.3 -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -DNDEBUG -march=i586 -O2 -w Can someone give some suggestions what should I do? |
Re: question about compiling under linux
you don't have gcc-2.95.3
you'll have to download and compile it since I don't think anyone provides the binaries to such an old version anymore.. http://gcc.gnu.org/ |
Re: question about compiling under linux
Hey, it's nice to see you here again... thought your there busy doing school work.
last time you told me that gcc should be shipped with mandrake 10, and I did check the packages I installed, it is there. this time I checked it again, and found that the version I installed is 3.3.2, which differs from the one specified in the Makefile, 2.95.3. That's why I can't compile. Now everything seems cool... :D |
Re: question about compiling under linux
don't compile with 3.3.2..
metamod cannot load so files compiled with that version.. (and probably other versions too) 2.95.3 is probably the best one to use. |
Re: question about compiling under linux
yea, sPlO is right
You can find these old versions of the gcc compiler at ftp://gcc.gnu.org or some adress like tha |
Re: question about compiling under linux
omg, that is a pita for me to downgrade gcc. I downloaded 2.95.3 and followed an instruction I found on the internet. don't know if I did it right but when I type "gcc -v", it displays that the version is 2.95.3.
when I hit make, same thing happened again. does anyone know a good tutorial installing gcc for newbs? I can even read the official readme, it's like bible. :( I would really appreciate any information. |
Re: question about compiling under linux
thats because you overwrote your 3.3.2 with 2.95.3.. I think. or maybe you just over wrote the sym links..
now edit the makefile so take off the "-2.95.3" at the end of gcc so you make it just "gcc" |
Re: question about compiling under linux
woot! it works
thank you very much! |
Re: question about compiling under linux
i personally think the linux ability of metamod should be increased, especially seeing as that is its 'main' platform, a proper ./configure to check the system for relevant libraries, also to get the GCC version, as well as support for GCC3 (Its not hard.. Even i've done it ;)) also, GCC3 supports C++ MUCH better than GCC2 did. Still, thats just my opinion based on experiance.
|
All times are GMT +2. The time now is 14:48. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.