Rev 6441 | Rev 6460 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6441 | Rev 6443 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | -when config.h is ready, compiler can be easy builded as [kos32-]gcc tcc.c libtcc.c |
16 | -when config.h is ready, compiler can be easy builded as [kos32-]gcc tcc.c libtcc.c |
17 | see also makefile.kos32 |
17 | see also makefile.kos32 |
18 | -silent (kos) -> writes to debugboard |
18 | -silent (kos) -> writes to debugboard |
19 | -impossible using with mingw-gcc compiled lib, incompatible library format: |
19 | -impossible using with mingw-gcc compiled lib, incompatible library format: |
20 | .o is PE-format from gcc but ELF from tcc, may be linux-gcc does it ok |
20 | .o is PE-format from gcc but ELF from tcc, may be linux-gcc does it ok |
21 | -no symbols (mapfile) for debug, see howtodebugtcc |
- | |
22 | -no debug info for -g (kos32 linker imperfection) |
- | |
23 | -__fastcall incompatible with other compilers. now stack freed by caller. |
21 | -__fastcall incompatible with other compilers. now stack freed by caller. |
24 | must fix i386-gen.c@490,572 (fixed in other branch https://github.com/mirror/tinycc) |
22 | must fix i386-gen.c@490,572 (fixed in other branch https://github.com/mirror/tinycc) |
Line 25... | Line 23... | ||
25 | 23 | ||
26 | 24 | ||
27 | -using __attribute__((packed)) see test82. need naming struct twice as in kos32sys1.h |
25 | -using __attribute__((packed)) see test82. need naming struct twice as in kos32sys1.h |
28 | -using __attribute__ ((alias xxx)) restricted only for non "static inline" functions |
26 | -using __attribute__ ((alias xxx)) restricted only for non "static inline" functions |
29 | -erroneous or "non TCC" member using in nested structs or unions can lead to compiler internal error |
27 | -erroneous or "non TCC" member using in nested structs or unions can lead to compiler internal error |
30 | -not working: default search path are ./include ./lib from executable |
28 | -not working: default search path are ./include ./lib from executable |
31 | --under KOS need to use -Bpath_to_ktcc |
- | |
32 | --start.o not found using -B (kos) - put near your.c file |
- | |
33 | -if static var sized more than 14096+ -> crash compiled .exe (kos) |
29 | --under KOS need to use -Bpath_to_ktcc |
Line 34... | Line 30... | ||
34 | ---^ stack size set in menuet header at compile time tccmeos.c:177 about 4k |
30 | --start.o not found using -B (kos) - put near your.c file |
35 | -bench timing coarse (0s or 1s), no usec in newlib gettimeofday. OK |
31 | -bench timing coarse (0s or 1s), no usec in newlib gettimeofday. OK |
36 | 32 | ||
Line 91... | Line 87... | ||
91 | setbuf |
87 | setbuf |
92 | setvbuf |
88 | setvbuf |
Line 93... | Line 89... | ||
93 | 89 | ||
94 | - | ||
95 | stdlib.h: |
- | |
96 | atof |
- | |
97 | atol |
90 | |
98 | strtol, strtoul |
91 | stdlib.h: |
99 | atexit |
92 | atexit |
100 | getenv |
93 | getenv |
101 | system |
94 | system |
Line 112... | Line 105... | ||
112 | 105 | ||
Line 113... | Line 106... | ||
113 | 106 | ||
114 | Status or libc tests |
107 | Status or libc tests |
Line 115... | Line 108... | ||
115 | 108 | ||
116 | ---FAILED--- |
109 | ---FAILED--- |
117 | tstring - need to fix |
110 | strtoul incorrect work with big unsigned > MAX_LONG |
118 | - | ||
119 | 111 | ||
Line 120... | Line 112... | ||
120 | ---NOT TESTED--- |
112 | |
121 | no library fns realized |
113 | ---NOT TESTED--- |
122 | qsort |
114 | no library fns realized |
Line 123... | Line 115... | ||
123 | strtol |
115 | qsort |
- | 116 | time |
|
124 | time |
117 | |
125 | 118 | ---HANG--- |
|
126 | ---HANG--- |
- | |
Line 127... | Line 119... | ||
127 | sscanf |
119 | sscanf |
128 | >TEST_F(0x1234p56) - no %a formats |
120 | >TEST_F(0x1234p56) - no %a formats |
129 | 121 | ||
130 | 122 | ||
Line 131... | Line 123... | ||
131 | ---STACK IS SMALL--- |
123 | ---STACK IS SMALL--- |
132 | tstring |
124 | use new -stack=1280000 option to pass test |
- | 125 | tstring |
|
Line 133... | Line 126... | ||
133 | strtodlong |
126 | strtodlong |
134 | use new -stack=1280000 option |
127 | |
Line 135... | Line 128... | ||
135 | 128 |