LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GCC installation (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-installation-338948/)

I_forgot 07-01-2005 12:23 AM

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?

:scratch:

rizhun 07-01-2005 12:33 AM

You need to install gcc.
Have a look on your install CD's, it might be on there.
Otherwise you can download it.

Bluenoser 07-01-2005 12:35 AM

rpm -ivh gcc


All times are GMT -5. The time now is 10:26 AM.