LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-20-2004, 05:58 AM   #1
crowmanic
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
GCC-3.3.3 Install on Suse


Hi,
I am trying to install GCC-3.3.3 on a suse linux 9.0 pro distribution. The os install was a minimal install on pentium 166, so no c compiler was installed. I am getting an error when i go to run the configure script that says $CC environmental variable empty, or basicaly no c compiler can be found, which I do not get b/c I am installing a c compiler. When i echo $CC, it returns an empty line and, a call to cc or gcc is not found in bin or sbin or anywhere in my path. So my question is, What should i install primarily as a c compiler so that i can install GCC-3.3.3? It seems that GCC-3.3.3 needs a c compiler to install itself. Is my line of thinking all correct here? Any suggestions would be greatly appreciated! Thanks!
 
Old 03-20-2004, 10:48 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
You are a bit confused I take it.
you are compiling gcc-3.3.3 ?

To install gcc-3.3.3 from rpms doesnt need a $CC variable.
Thats for compiling.

Whatever just install gcc that came with your distro then upgrade to gcc-3.3.3 .
And as new to Linux and compiling as you are, I would use an .RPM / .TGZ / TAR.GZ file to "install" gcc.

Yes, you cannot compile gcc-3.3.3 wothout gcc of some sort.



I am getting an error when i go to run the configure script that says $CC environmental variable empty, or basicaly no c compiler can be found, which I do not get b/c I am installing a c compiler.

If you review the statement you made, "or no compiler can be found" that is pretty self explainitory. But sometimes we all dont get why we can't compile a compiler withoput a compiler.

Last edited by AutOPSY; 03-20-2004 at 10:51 AM.
 
  


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
Can't install gcc 3.3.3-4 on SUSE 9.1 prince121 Linux - Software 0 11-29-2005 07:52 PM
how to install GCC 3.3 on Suse 10? Gianni_T SUSE / openSUSE 0 10-20-2005 02:23 AM
no gcc in suse 9.1...how do i install a compiler? set235 Linux - Newbie 2 07-28-2005 11:34 PM
Suse 9.1 Personal and Install of gcc. Delusions Linux - Newbie 1 10-21-2004 09:22 AM
help with gcc install on suse 9.1 Daz_Man2803 Linux - Software 5 08-01-2004 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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