LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-14-2005, 12:54 AM   #1
cn_gelare
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
problems on installing gcc


when i type configure,it shows:
checking for a bsd complitble install .../usr/bin/install -c
cc:command not found
you must set the enviroment variable cc to a working compiler

how should i do for that?
 
Old 01-14-2005, 01:00 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Congratulations, you just discovered a rather interesting paradox, namely to compile gcc from source, you need to already have a C compiler. The solution is to install gcc from the binary packages that came with your distro. If you don't know how, please post what distro you are running, and someone will assist you.
 
Old 01-14-2005, 01:19 AM   #3
cn_gelare
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
i use damsmalllinux
it seems no binary package of gcc

Last edited by cn_gelare; 01-14-2005 at 01:29 AM.
 
Old 01-14-2005, 02:03 AM   #4
cn_gelare
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
how could i do,please help
 
Old 01-14-2005, 05:52 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
just looked at the site and couldn't find binaries for the compiler anywhere
without a compiler you cannot build another compiler......
 
Old 07-14-2006, 03:50 PM   #6
zbenjudah
Member
 
Registered: Mar 2006
Posts: 64

Rep: Reputation: 15
I have the same problem?

It seems to me that yacc is a cc so there must be a way to do it useing this program! although I dont know how I would very much like to learn! does any one know where to find any good tutors on the use and programing with yacc and bison?
 
  


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
RH9 Installing GCC, etc problems Zychior Linux - Newbie 8 09-15-2004 08:33 PM
Problems installing gcc HCLogo Mandriva 6 04-24-2004 04:48 PM
Problems with installing GCC TransAmJugo Linux - Software 2 08-05-2003 12:34 AM
Problems with installing GCC TransAmJugo Linux - General 1 07-31-2003 11:43 PM
Problems with installing GCC TransAmJugo Linux - Newbie 2 07-31-2003 03:37 PM


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