Hi, 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. The program in C is bellow: -------------------> #include <16F877A.h> #FUSES NOWDT, XT, NOPUT, NOPROTECT, BROWNOUT, NOLVP, NOCPD #use delay(clock=4000000) #byte PORTA = 0x05 //PORTA regiszterre mutato pointer #byte PORTD = 0x08 //PORTD regiszterre mutato pointer //======================================================== void main(){ //======================================================== int last_state,new_state; set_tris_a(0b00011111); //PORTA0:5 bemenet set_tris_d(0b00000000); //PORTD kimenet output_d(0b00000001); //elso led bekapcs last_state = 0; for(;;) { new_state = 0; if(!input(PIN_A0)) bit_set(new_state,0); if(!input(PIN_A1)) bit_set(new_state,1); if(new_state == 3 && last_state == 1) { rotate_left(&PORTD,1); } else if(new_state == 3 && last_state == 2) { rotate_right(&PORTD,1); } last_state = new_state; }//for }//main -------------------< In Piklab in the menu / Project Options and Toolchains tab I have settings: +STDOUT +EA -P +DF +LSlst +O8hex +M -J -A +F%FAMILY I+="$(SRCPATH)" %I So what am I doing wrong here? Any advices will be appreciated! -- Regards, Paul Chany You can freely correct me in my English. http://csanyi-pal.info -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist