Jul 7 2011, 06:44 PM
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,
Jul 7 2011, 08:20 PM
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
Jul 7 2011, 08:49 PM
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.
Jul 7 2011, 09:16 PM
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.
Jul 7 2011, 11:04 PM
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here