Help - Search - Members - Calendar
Full Version: Compiling
Linuxhelp > Support > Technical Support
fractalgeometric
Hello,

I am attempting to install GNU make and Tiny C Compiler on Ubuntu Server 11.04. When I run 'sh configure' to setup GNU make I receive "error: no acceptable C compiler found in $PATH". Of course I require GNU make in order to install Tiny C Compiler, leaving me unable to run either without already having the other.

I imagine there must be some way to set up both a 'make' program and a C compiler without downloading any precompiled binaries.

Thanks for any assistance,
Ben
michaelk
welcome to linuxhelp
why do you not want to install precomplied binaries unless you want a different lib or version?

You can install gcc
sudo apt-get install build-essential
& tiny C
sudo apt-get install tcc
fractalgeometric
I understand that I could use apt-get but my intent is to learn how to compile any program from source rather than relying on precompilation done by others.

As of now, I think it is reasonable for a 'make' program to rely on C compiler binary, but I'm unsure as to how to compile a C compiler. Short of writing machine code, eventually I will have to use a program that has already been assembled, I'm just trying to get to the lowest-level software possible.
michaelk
I do not know how to compile a c compiler with out c either. So install gcc and then you can compile any source you want including tiny c.
fractalgeometric
That'll be my longer term project; I think I will install a C compiler for now. I appreciate the help and the fast replies.

-Ben
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.