Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: problems using MAKE< Next Oldest | Next Newest >
kbf Offline





Group: Members
Posts: 6
Joined: Dec. 2004
Posted: Dec. 14 2004,16:17 QUOTE

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
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Dec. 14 2004,18:05 QUOTE

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.
Back to top
Profile PM 
kbf Offline





Group: Members
Posts: 6
Joined: Dec. 2004
Posted: Dec. 15 2004,14:20 QUOTE

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
Back to top
Profile PM 
2 replies since Dec. 14 2004,16:17 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: problems using MAKE

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code