Peter I have created a lib using the files in /usr/local/share/sdcc/lib/pic16 these are the ones I copied from the src directory. I used gplib -- create pic18f6680 *.o all seems OK at this point but when I do sdcc -mpic14 -pf84 -I/pic_projects/header step.c -L /usr/local/share/lib/pic16 -l pic18f6680.lib I get these results Processor: f84 step.c:294: warning: conditional flow changed by optimizer: so said EVELYN the modified DOG step.c:294: warning: conditional flow changed by optimizer: so said EVELYN the modified DOG step.c:407: warning: function 'atof' implicit declaration step.c:510: warning: function 'atof' implicit declaration step.c:515: warning: function 'atof' implicit declaration step.c:563: warning: function 'atol' implicit declaration step.c:582: warning: function 'atof' implicit declaration step.c:598: warning: function 'atol' implicit declaration step.c:407: error: too many parameters step.c:510: error: too many parameters step.c:515: error: too many parameters step.c:563: error: too many parameters step.c:582: error: too many parameters step.c:598: error: too many parameters -:0: error: code not generated for 'main' due to previous errors make: *** [step.hex] Error 1 what I'm I doing wrong. Acell is defined as a float and String is a char array of 20 "float Acell; char String[20];" line 407 is "Acell = atof(&String[0]); any help would be grateful. Thanks ahead of time. Tom Wrenn -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body