LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2003, 05:50 PM   #1
spooodini
LQ Newbie
 
Registered: Sep 2003
Location: Idaho
Posts: 11

Rep: Reputation: 0
gcc help


Ok I installed the Mandrake 9.1 distribution, and used rpm to install the c and c++ compilers. So I think I have gcc 2.96 and gcc 3.2.2. When I enter gcc -v, it says:
bash: gcc: command not found.

Is gcc not installed? The only place I can find any gcc files are in /usr/lib/gcc-lib/. I am not sure what I need to fix so that it recognizes one of the gcc compilers. There are cpp files in the /usr/bin folder. What do I need to do so that it recognizes I have a c compiler.

Thanks
 
Old 10-27-2003, 06:06 PM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 35
Does your path include the location of the compiler?

try
> which gcc
 
Old 10-27-2003, 09:45 PM   #3
spooodini
LQ Newbie
 
Registered: Sep 2003
Location: Idaho
Posts: 11

Original Poster
Rep: Reputation: 0
No it doesn't. How do I know I even have the compiler on my system, and if I do how do I change the path?
 
Old 10-27-2003, 10:27 PM   #4
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
i am having trouble with GCC also. I posted a thread but no1 repsonded...

but anyway, i want to learn about linux so i installed redhat 9.0 with the minimum (i choose the things i thought i would need) and I purposely left out the gcc compilers, and libs, etc so that I can find out what each does by being prompted for it. Obviously, i went to install checkinstall and was promted for gcc, but it gives me an error, i dont know what to do. what do i need to install the gcc compiler?
 
Old 10-29-2003, 11:16 AM   #5
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 37

Rep: Reputation: 0
Unhappy gcc problems

I'm having the SAME problem! Can't install mkisofs because it's looking for a compiler which doesn't exist. I'm running MDK9.1 and have installed Gcc from the CD. My system also says "doesn't exist".
I can do everything except burn CD's. Had it working fine and tried to add k3b which blew away my cdrecord and mkisofs. Cdrecord is installed again and working. mkisofs won't install

Help!
 
Old 10-29-2003, 01:08 PM   #6
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 35
Try

find /usr -name gcc

It will show you the path to gcc. Make sure your path is set at login to include the gcc compiler location.
 
Old 10-29-2003, 03:18 PM   #7
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
http://gcc.gnu.org/


nice link, thank Ginux for link
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 11:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 05:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM


All times are GMT -5. The time now is 06:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration