LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-08-2001, 12:35 AM   #1
Lmronby
LQ Newbie
 
Registered: Nov 2001
Posts: 6

Rep: Reputation: 0
C compiler install


I need to install a c compiler on a Linux box. I downloaded gcc-2.96-85.i386.rpm from Radhat and did the rpm-i thing. It seemed to work fine, but I cannot find the executables to compile. The RPM said there were no dependancies, so I think my prob was in my install. Any help?

ps
If you know another compiler that will work easier pls LMK. I need a compiler for C, C++ is just an extra.
 
Old 11-08-2001, 02:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the package should install /usr/bin/gcc, if that's not there, then i'd guess you're installation didn't work. use

rpm -qa | grep gcc

to see if the rpm db thinks it's installed.
also if you want to do C++ then you'll need to install gcc-c++ too
 
Old 11-08-2001, 08:44 AM   #3
Lmronby
LQ Newbie
 
Registered: Nov 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Tks for the info,, I will check the machine tonight to see if it is in /usr/bin/gcc The package from Redhat said that it had both a c and c++ compiler.
 
Old 11-10-2001, 06:18 AM   #4
Vagrant
Member
 
Registered: Nov 2001
Posts: 75

Rep: Reputation: 15
in future installs, you will want to install ALL of the development packages and sources, even if u dont ever plan to dev .. .. good luck ..
*vagrant
 
Old 11-11-2001, 09:08 PM   #5
Lmronby
LQ Newbie
 
Registered: Nov 2001
Posts: 6

Original Poster
Rep: Reputation: 0
I didn't do the initial install, I wish I had bacause whoever did is a Nimrod. There are all kinds of problems with this machine. I am going to try to reinstall with Redhat 7.2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C compiler install Regis Linux - Newbie 12 05-19-2008 10:38 AM
how to install a C++ Compiler? retry Linux - General 1 12-10-2004 06:09 AM
How do i install a compiler......? BajaNick Linux - Software 4 12-19-2003 09:39 PM
How do I install a C compiler? genesis1923 Linux - Newbie 8 09-24-2003 02:17 PM
How Do I Install A Compiler Off The CD ? Mr_T_Fool Linux - Software 1 07-14-2003 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration