Rev 6574 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6429 | siemargl | 1 | see |
2 | source/readme.* |
||
3 | source/changelog |
||
6433 | siemargl | 4 | source/tcc-doc.info or .texi |
6574 | siemargl | 5 | |
6 | building Kolibri version |
||
7 | >make -f Makefile.kos32 |
||
7172 | siemargl | 8 | |
9 | ========= for compiler developers ========= |
||
10 | read .\source\readme_kos32.txt |
||
11 | |||
12 | ------ TODO ------- |
||
13 | -minimal memory allocator |
||
14 | -more libc stardard functions. see report below |
||
15 | -more Kolibly SysFn wrappers. see \libc\KOSfuncs_inc_status.txt |
||
16 | -add stdin, stderr, stdout emulation не хватает stdin, stdout - можно сделать как stderr!, но надо возиться заодно с ferror & feof |
||
17 | -getchar, gets if returs errorcode (0, null) - you must exit program, because of closed console window |
||
18 | -при нормальном выходе закрывать консоль |
||
19 | -sstrek виснет на поиске хелпа с дискеты - just very long reading by one symbol without buffering (need to change gets, getc, ungetc etc) |
||
20 | |||
21 | |||
22 | ------ errors ------ |
||
23 | -not working: default search path are ./include ./lib from executable (under KOS need to use -Bpath_to_ktcc) |
||
24 | --start.o not found using -B (kos) - put near your.c file |
||
25 | -если проект многофайловый - .dbg генерит дублирующиеся метки данных, типа L.78 может указывать на другой сегмент ( |
||
26 | |||
27 | |||
28 | ----- fixed errors ------ |
||
29 | -if static var sized more than 14096+ -> crash compiled .exe (kos) |
||
30 | (^ default stack size set at compile time tccmeos:177 is below 4k) |
||
31 | FIX - use -stack=1280000 option |
||
32 | -con_set_title is NULL. fixed 180128 |
||
33 | |||
34 | |||
35 | |||
36 | ========= libc =========== |
||
37 | -no "finished" in title of console program after exit console - use con_exit() |
||
38 | -used system memory allocator (4096 bytes minimum) |
||
39 | |||
40 | |||
41 | libc not complete. overall status: |
||
42 | no files: |
||
43 | limits.h |
||
44 | locale.h |
||
45 | setjmp.h |
||
46 | signal.h |
||
47 | wchar.h |
||
48 | wctype.h |
||
49 | |||
50 | |||
51 | |||
52 | functions absent list: |
||
53 | |||
54 | stdio.h: |
||
55 | remove |
||
56 | rename |
||
57 | tmpfile |
||
58 | tmpnam |
||
59 | freopen |
||
60 | setbuf |
||
61 | setvbuf |
||
62 | |||
63 | |||
64 | stdlib.h: |
||
65 | atexit |
||
66 | getenv |
||
67 | system |
||
68 | bsearch |
||
69 | qsort |
||
70 | mblen |
||
71 | mbtowc |
||
72 | wctomb |
||
73 | mbstowcs |
||
74 | wcstombs |
||
75 | |||
76 | string.h: |
||
77 | strxfrm |
||
78 | |||
79 | time.h: - needs include kos32sys1.h |
||
80 | asctime |
||
81 | ctime |
||
82 | gmtime |
||
83 | localtime - non standard |
||
84 | strftime |
||
85 | |||
86 | |||
87 | |||
88 | |||
89 | |||
90 | |||
91 | Status or libc tests |
||
92 | |||
93 | ---FAILED--- |
||
94 | strtoul incorrect work with big unsigned > MAX_LONG |
||
95 | |||
96 | |||
97 | ---NOT TESTED--- |
||
98 | no library fns realized |
||
99 | qsort |
||
100 | time |
||
101 | |||
102 | ---HANG--- |
||
103 | sscanf |
||
104 | >TEST_F(0x1234p56) - no %a formats |
||
105 | |||
106 | |||
107 | ---STACK IS SMALL--- |
||
108 | use new -stack=1280000 option to pass test |
||
109 | tstring |
||
110 | strtodlong |
||
111 | |||
112 | |||
113 | --other-- |
||
114 | fscanf |
||
115 | -?scanf ignores width specs, '*' and [chars], cant read %a float |
||
116 | -%n counts as parameter |
||
117 | |||
118 | snprintf |
||
119 | -some format misturbances |
||
120 | -may incorrect prints unsigned > 2147483647L |
||
121 | |||
122 | ungetc |
||
123 | -ungetc fails if filepos == 0 - no tricks |
||
124 | |||
125 | all file ops limited to 2Gb |
||
126 |