gcc32: command not found even after compat-libstdc++ installed
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
but when i type gcc32, command still not found! can anyone help me please?
i urgently need to get gcc3.2 up and running because of this old code which i can't convert as yet or downgrade my os.
It would be great if you could point me to the proper rpm, or how i can get gcc32 running on my system...
compat-lib* doesn't install gcc - it installs libraries that can be used to run older code. That may in fact be what you need however but it won't give you "gcc32".
Why do you think you need gcc32 as opposed to gcc? When you type "which gcc" where is it? (e.g. /usr/bin/gcc?) If you run "rpm -qf $(which gcc)" what does it show you?
What happens when you try to compile the older code with the version of gcc you have installed? It might be more to the point to ask folks how to solve your compilation errors by providing details of same.
If you're not going to read the posts people make in this and the other threads then you're not going to get further answers.
You've already been told in THIS thread that the compat-libstd does NOT provide gcc - it provides libraries only.
You've already been told in the OTHER thread that the oldest you can install with compat-gcc is gcc34.
You've also been asked in both threads what it is you're trying to compile and what errors you're getting. If you ignore responses and don't answer requests for further information nobody can really help you and nobody will really want to do so.
alright sorry about that, i just thought it would be irrelevant what i want to compile.
its old game code that requires gcc32, im not sure why you need to know this,
but it really requires gcc32. All the errors are compatibility errors which are generic
in that the new gcc 4 does not support gcc32 and thus cannot compile.
the errors i am getting from compiling gcc32 code with gcc 4 is really irrelevant,
as it requires a whole recode of the code. what i am looking for is how to get gcc32
installed, not how i can get gcc4 to compile my code. that was my original request
and if nobody can help, it is ok. thanks.
the REASON that knowing just WHAT it is you are building in important is that a LOT of old 2000 - 2005 programs are VERY specific to the compiler
HOWEVER
some are NOT
i use one program wrote in 2002 BUT because it is rather simple it DOSE build in the current gcc 4.6
however i also have NEW programs that DO NOT build in gcc 4.3 or newer and REQUIRE an older compiler
( google for the reasons that the current gnu compiler dose not work on old code )
Most of the time , though, GCC 3.4 will do
Cent6 dose have the old gcc 3.4 in the repos
but on those RARE ocations that 3.4 will NOT do and YOU can NOT HACK the program to work in gcc 3.4
then YOU can build the gcc 3.2 compiler ( but on a 32 bit computer it is THAT old )
also you should not be using the "src" rpms
compat-libstdc++-33-3.2.3-69.el6.src.rpm
unless YOU HAVE TO !!! (like to include a patch )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.