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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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
unless YOU HAVE TO !!! (like to include a patch )