LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-15-2006, 12: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, 01: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



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

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

All times are GMT -5. The time now is 07:03 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