LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-13-2005, 11:54 PM   #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, 12:00 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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, 12: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 12:29 AM.
 
Old 01-14-2005, 01: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, 04: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, 02: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 07:33 PM
Problems installing gcc HCLogo Mandriva 6 04-24-2004 03:48 PM
Problems with installing GCC TransAmJugo Linux - Software 2 08-04-2003 11:34 PM
Problems with installing GCC TransAmJugo Linux - General 1 07-31-2003 10:43 PM
Problems with installing GCC TransAmJugo Linux - Newbie 2 07-31-2003 02:37 PM

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

All times are GMT -5. The time now is 02:28 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
Open Source Consulting | Domain Registration