SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.6.0
#4309 (Jul 28 2006) (UNIX)
using mac osx
oh, as for the apostrophe topic:
the .c file is this:
#include <string.h>
char str1[10];
void main(void) {
strcpy(str1, "testing");
}
i dont see any apostrophes, isn't this (') what would make sense as producing
that error..
i understand i am still a little unfamiliar with some syntaxes, dont know what
the apostrophes is about.
i then did the snapshot suggestion
in terminal:
COMPUTER:~ myname$ cd ~/FOLDER/FOLDER/
COMPUTER:~/FOLDER/FOLDER myname$ ~/FOLDER/FOLDER/sdcc/bin/sdcc test.c
test.c:24:10: warning: backslash-newline at end of file
test.c:1: warning 190: ISO C forbids an empty source file
test.c:1: parse error: token -> '{' ; column 1
ok bros, even afterwards, i opened the test.c and it had text in it ("ISO C
forbids an empty source file"), if ur guys' compilers are working, there must
be some solution.. i think i provided all the relevant information i can, if
there's anything else i can tell you, i will. oh, i have xcode on the computer,
(installed it after the first version of sdcc, before the snap version), i
installed it to compile glut as recommended by the mac dev site.
bye
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user