> I'm trying to build a C program for PIC16F877A microcontroller. > I'm using Piklab. > When try to build, I get the following message: > > ccsc +STDOUT +EA -P +DF +LSlst +O8hex +M -J -A +FM \ > I+="/home/user/PIC/" main.c > Failed to execute command: check toolchain configuration. I'm not a CCS C user, but my first guess would be that Piklab can't find the ccsc compiler executable. Is the directory where the compiler lives in the path that Piklab searches? Can you execute that same command if entered from a command line environmen (aka terminal window)? Second guess is that make engine in Piklab is objecting to something about the options or utility programs but I have no idea what. One comment on your C code: > //======================================================== > void main(){ > //======================================================== > > for(;;) > { > }//for I would never assume that the terminal condition test would evaluate to true when the test statement is empty / null. I would write it as #define TRUE 1 // always up in the top part of the souce then for ( ; TRUE ; ) { } // for or while (TRUE) { } // while to ensure that the compiler would always evaluates the loop condition the way I wanted and to self-document it for other programmers later [ "other" shall include myself a few years after initially writting the code :-) ]. Lee Jones -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist