Subversion Repositories Kolibri OS

Rev

Rev 6433 | Rev 6441 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6433 Rev 6439
Line 19... Line 19...
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
21
-no symbols (mapfile) for debug, see howtodebugtcc
Line 22... Line 22...
22
 
22
 
23
 
23
 
24
-how to use packed attribute see test82
24
-using __attribute__((packed)) see test82. need naming struct twice as in kos32sys1.h
25
-alias attribute wont work
-
 
26
-unnamed structs in union may lead to compiler internal error
-
 
27
-tcc: error: undefined symbol '__tcc_cvt_ftol' 
-
 
28
--in config.h - used workaround (#define COMMIT_4ad186c5ef61_IS_FIXED
25
-using __attribute__ ((alias xxx)) restricted only for non "static inline" functions 
29
--but this is precision bugfix - see \tests\tests2\000_cvttoftol.c 
26
-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 
27
-not working: default search path are ./include ./lib from executable 
31
--under KOS need to use -Bpath_to_ktcc
28
--under KOS need to use -Bpath_to_ktcc
32
--start.o not found using -B (kos) - put near your.c file
29
--start.o not found using -B (kos) - put near your.c file
-
 
30
-if static var sized more than 14096+ -> crash compiled .exe (kos) 
Line 33... Line 31...
33
-if static var sized more than 14096+ -> crash compiled .exe (kos) 
31
---^ stack size set in menuet header at compile time tccmeos.c:177 about 4k
34
---^ stack size set in menuet header at compile time tccmeos.c:177 about 4k
32
-bench timing coarse (0s or 1s), no usec in newlib gettimeofday. OK
35
 
33
 
36
Tests status:
34
Tests status:
Line 53... Line 51...
53
test46 no stdin - removed funtionality read from console, but file ops works
51
test46 no stdin - removed funtionality read from console, but file ops works
Line 54... Line 52...
54
 
52
 
55
 
53
 
56
libc:
-
 
57
-no "finished" in title of console program after exit console - use con_exit()
54
libc:
Line 58... Line 55...
58
-bench timing error (0s or 1s)
55
-no "finished" in title of console program after exit console - use con_exit()
59
-minimal memory allocator
56
-used system memory allocator (4096 bytes minimum)
60
 
-
 
61
 
57
 
62
libc not complete. overall status:
58
 
63
no files:
59
libc not complete. overall status:
64
assert.h
60
no files:
65
errno.h  - in stdio
61
errno.h  - in stdio
66
limits.h
62
limits.h
67
locale.h
63
locale.h
68
setjmp.h
64
setjmp.h
Line 80... Line 76...
80
ldexp
76
ldexp
81
modf
77
modf
82
fmod
78
fmod
Line 83... Line 79...
83
 
79
 
84
HUGE_VAL
-
 
85
NAN
-
 
Line 86... Line 80...
86
 
80
HUGE_VAL
87
 
81
 
88
stdio.h:
82
stdio.h:
89
FOPEN_MAX
83
remove
90
L_tmpnam
-
 
-
 
84
rename
91
TMP_MAX
85
tmpfile
92
Operations on files: none http://www.cplusplus.com/reference/cstdio/
86
tmpnam
93
freopen
87
freopen
Line 112... Line 106...
112
 
106
 
113
string.h
107
string.h
Line 114... Line -...
114
strxfrm
-