Which sdcc version are you using? sdcc --version
Which OS (from the dir names I assume Mac OS X)? Can you try it with the latest snapshot build from http://sdcc.sourceforge.net/snap.php? Borut [EMAIL PROTECTED] wrote: > hi, i tried 'testing' the compiler with the recommended test.c code from the > documentation. > > test.c : > ---------------- > > #include <string.h> > > char str1[10]; > > void main(void) { > strcpy(str1, "testing"); > } > > ---------- > (dashes (---) aren't in file) > this produced the terminal's result, some sort of error: > > /Users/name/test.c:10:11: missing terminating ' character > /Users/name/test.c:14:11: missing terminating ' character > /Users/name/test.c:18:11: missing terminating ' character > /Users/name/test.c:20:11: missing terminating ' character > /Users/name/test.c:21:11: missing terminating ' character > /Users/name/test.c:25:1: warning: no newline at end of file > > /Users/name/test.c:1: parse error: token -> '{' ; column 1 > > ----------------- > > previously, test.c looked like this: > > ------------- > char test; > > void main(void) { > test=0; > } > --------------- > > i pressed return after the final "}" and like added tabs and stuff to try to > fix errors but in general the error for this previous test.c file was: > > /Users/name/test.c:11:3: warning: no newline at end of file > > /Users/name/test.c:1: parse error: token -> '{' ; column 1 > ---- > > ok, so if telling you all sdcc directories or something would help, i will > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user