LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-15-2006, 01:56 AM   #1
pat_and_cami
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Rep: Reputation: 0
How to load and configure gcc?


Hi I have installed Suse Linux 9.3 desktop on my computer. I found out I need to install 'gcc', and I was able to download the source code. I then tried to follow some instructions from WEB search to compile and build gcc, and I am getting the following error:

---
linux:/gcc/gcc-2.95.3 # ../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 --enable-shared --enable-languages=c --enable-threads=posix --host=i586
Created "Makefile" in /gcc/gcc-2.95.3 using "mh-frag" and "mt-frag"
/tmp/cONf14268.pos: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
linux:/gcc/gcc-2.95.3 # which cc
linux:/gcc/gcc-2.95.3 #
---

I searched my entire disk and did not find cc.exe anywhere. So it's not a path issue.

Do I need to install cc.exe from somewhere? Why doesn't Suse Linux 9.3 have this? Any help would be appreciated, as this is blocking me from getting anything done in my Linux coursework.


Thanks,

Patrick//
 
Old 02-15-2006, 02:14 AM   #2
croakinglizard
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Rep: Reputation: 0
You should use Yast to install gcc if it isn't already installed.
 
  


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
Trying to load a driver - gcc can't find a file tilaat Linux - Newbie 2 02-14-2005 05:35 AM
where can i load gcc for linux eltn Linux - Software 1 10-20-2004 03:21 PM
How to configure GCC? co2 Linux - Newbie 19 06-11-2004 05:06 AM
gcc configure error rl5 Linux From Scratch 2 03-31-2004 10:18 AM
How to I configure gcc on Solaris ehsan Solaris / OpenSolaris 5 01-08-2003 01:18 PM

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

All times are GMT -5. The time now is 09:38 PM.

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