LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 07-01-2005, 01:23 AM   #1
I_forgot
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
GCC installation


I am very new to Linux and I'm trying to get TCC on Mandrake 10.0. The following is exactly what it said in the terminal, after i unpacked the .tar.gz:

[father@localhost tcc-0.9.23]$ ./configure
big/little test failed
Binary directory /usr/local/bin
TinyCC directory /usr/local/lib/tcc
Library directory /usr/local/lib
Include directory /usr/local/include
Manual directory /usr/local/man
Doc directory /usr/local/share/doc/tcc
Source path /home/father/tcc-0.9.23
C compiler gcc
make make
CPU x86
Big Endian no
gprof enabled no
cross compilers no
Creating config.mak and config.h
config.h is unchanged
[father@localhost tcc-0.9.23]$ make
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -m386 -malign-functions=0 -o tcc tcc.c -ldl
make: gcc: Command not found
make: *** [tcc] Error 127
[father@localhost tcc-0.9.23]$ make install
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -m386 -malign-functions=0 -o tcc tcc.c -ldl
make: gcc: Command not found
make: *** [tcc] Error 127
[father@localhost tcc-0.9.23]$

What is wrong? How can this be fixed?

 
Old 07-01-2005, 01:33 AM   #2
rizhun
Member
 
Registered: Jun 2005
Location: England
Distribution: Ubuntu, SLES, AIX
Posts: 268

Rep: Reputation: 47
You need to install gcc.
Have a look on your install CD's, it might be on there.
Otherwise you can download it.
 
Old 07-01-2005, 01:35 AM   #3
Bluenoser
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada
Distribution: Ubuntu 8.04 LTS
Posts: 138

Rep: Reputation: 15
rpm -ivh gcc
 
  


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
Installation of GCC bjsmith Linux - Software 3 07-06-2005 08:49 AM
gcc installation Allahh Linux - Newbie 4 09-22-2004 01:35 PM
gcc and bc installation Solzhenitsyn Mandriva 0 08-12-2004 03:53 PM
Need help with gcc installation BajaNick Linux - Software 2 10-04-2003 05:49 PM
gcc installation exigent Linux - Software 13 09-03-2002 10:01 AM


All times are GMT -5. The time now is 03:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration