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.
Hello, I am trying to install the C compiler on my Red Hat 7.2 computer. I read the GNU.GCC page a few times but the install it recomended wouldn't work, I couldn't even get past the "configure" stage. I am using the i386 ver of Redhat with a Pentium 200 MMX and 64 M of Ram. If anyone could tell me where there is some 'newbie' documentation on configuring and building the GCC C Compiler Ver 2.96 I would appreciate it
I have the RPM on my distro CD, however I cannot simply rpm -i it, it says that it needs other files to be installed. Also, after looking at the gnu gcc web page it appears that you have to create an objdir and a srcdir and then configure the dir's or somthing close to that. Is there another C compiler that I can simply unpack and start using? Thanks for your input
compiling new gcc can cause troubles, ie redhat using 2.96 while gcc3.1 + is also available.
Unless you have a strong reason to compile a new one stick with distro version.
and get all dependencies and then rpm
yeah, I think you need header files and a few others, they are all on your CD. I ran into that problem too once, I did what Noerr said, and it works like a charm now. Oh and BTW, you should go for the 3.x one instead of 2.9x since some programs don't like the 2.9x version for some reason.
MasterC:
I think that RH went back to their 2.96 version in RH7.3 distro, whereas in rh 7.2 they included gcc3 as a seperate version and not linked to gcc.
So I guess it's problematic for them
I remember quite some progs, recomending gcc 2.96 for compiling
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.