Hallo I have found few bugs.
1. The tcc compiler can`t work with absolute defined include paths. Solution: in tcc.c in function preprocess from the line 3063 /* now search in all the include paths */ n = s1->nb_include_paths + s1->nb_sysinclude_paths; f = tcc_open(s1, buf); if (f) Must put this into the code. goto found; for(i = 0; i < n; i++) { 2.Accepts illegal integer constants int a = 0xabgfa; printf("%x", a); -> ab a = 0xwookie; printf("%d\n", a); -> 0 3. void main() { unsigned char uca[] = { 0x11, 0x22, 0x33, 0x44, 0x55 }; printf("Hello 1\n"); printf("Hello 2\n"); } output : Hello 1 Hello 2 void main() { unsigned char uca[] = { 0x11, 0x22, 0x33, 0x44, 0x55 }; - If I delete the semicolon, then comes no error message. But the first printf function does not call. printf("Hello 1\n"); printf("Hello 2\n"); } output : Hello 2 Solution??? Can somebody help? With regards Matthias
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel