Other Help Topics :: problems using MAKE



On my on the hardrived installed DSL latest version I do have problems to use the make to compile anything.

I have the Gcc1.dsl   installiert

the output is like the following:

root@box:/apps/zaptel# make
cc -o gendigits gendigits.c -lm
make: cc: Command not found
make: *** [gendigits] Error 127

Any hints what to look for??

Karl

kbf,  This is only a guess on my part, but it looks from your output like make is found but cc isn't.  The C compiler is named gcc not cc.  Some makefiles have a section in the front that sets up variables for the makefile.  You want either want to change every cc to a gcc in the Makefile or open the Makefile and change the variable for the compiler to gcc.
Hi

You were right. In the Makefile there was CC instead of gcc.
After adding a line

CC=gcc

it worked like a charme.

Thanks


original here.