2016-05-14 10:56:15 +02:00
|
|
|
|
see
|
|
|
|
|
source/readme.*
|
|
|
|
|
source/changelog
|
2016-05-19 14:15:22 +02:00
|
|
|
|
source/tcc-doc.info or .texi
|
2016-10-07 11:23:37 +02:00
|
|
|
|
|
|
|
|
|
building Kolibri version
|
|
|
|
|
>make -f Makefile.kos32
|
2018-03-05 18:53:31 +01:00
|
|
|
|
|
|
|
|
|
========= for compiler developers =========
|
|
|
|
|
read .\source\readme_kos32.txt
|
|
|
|
|
|
|
|
|
|
------ TODO -------
|
|
|
|
|
-minimal memory allocator
|
|
|
|
|
-more libc stardard functions. see report below
|
|
|
|
|
-more Kolibly SysFn wrappers. see \libc\KOSfuncs_inc_status.txt
|
|
|
|
|
-add stdin, stderr, stdout emulation <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> stdin, stdout - <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> stderr!, <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> ferror & feof
|
|
|
|
|
-getchar, gets if returs errorcode (0, null) - you must exit program, because of closed console window
|
|
|
|
|
-<2D><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
------ errors ------
|
|
|
|
|
-not working: default search path are ./include ./lib from executable (under KOS need to use -Bpath_to_ktcc)
|
|
|
|
|
--start.o not found using -B (kos) - put near your.c file
|
|
|
|
|
-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - .dbg <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> L.78 <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (
|
2018-03-12 21:41:06 +01:00
|
|
|
|
-.dbg sometimes generated improperly for source code labels
|
2018-03-05 18:53:31 +01:00
|
|
|
|
|
|
|
|
|
----- fixed errors ------
|
|
|
|
|
-if static var sized more than 14096+ -> crash compiled .exe (kos)
|
|
|
|
|
(^ default stack size set at compile time tccmeos:177 is below 4k)
|
|
|
|
|
FIX - use -stack=1280000 option
|
|
|
|
|
-con_set_title is NULL. fixed 180128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
========= libc ===========
|
|
|
|
|
-no "finished" in title of console program after exit console - use con_exit()
|
|
|
|
|
-used system memory allocator (4096 bytes minimum)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libc not complete. overall status:
|
|
|
|
|
no files:
|
|
|
|
|
limits.h
|
|
|
|
|
locale.h
|
|
|
|
|
setjmp.h
|
|
|
|
|
signal.h
|
|
|
|
|
wchar.h
|
|
|
|
|
wctype.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
functions absent list:
|
|
|
|
|
|
|
|
|
|
stdio.h:
|
|
|
|
|
remove
|
|
|
|
|
rename
|
|
|
|
|
tmpfile
|
|
|
|
|
tmpnam
|
|
|
|
|
freopen
|
|
|
|
|
setbuf
|
|
|
|
|
setvbuf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stdlib.h:
|
|
|
|
|
atexit
|
|
|
|
|
getenv
|
|
|
|
|
system
|
|
|
|
|
bsearch
|
|
|
|
|
qsort
|
|
|
|
|
mblen
|
|
|
|
|
mbtowc
|
|
|
|
|
wctomb
|
|
|
|
|
mbstowcs
|
|
|
|
|
wcstombs
|
|
|
|
|
|
|
|
|
|
string.h:
|
|
|
|
|
strxfrm
|
|
|
|
|
|
|
|
|
|
time.h: - needs include kos32sys1.h
|
|
|
|
|
asctime
|
|
|
|
|
ctime
|
|
|
|
|
gmtime
|
|
|
|
|
localtime - non standard
|
|
|
|
|
strftime
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Status or libc tests
|
|
|
|
|
|
|
|
|
|
---FAILED---
|
|
|
|
|
strtoul incorrect work with big unsigned > MAX_LONG
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---NOT TESTED---
|
|
|
|
|
no library fns realized
|
|
|
|
|
qsort
|
|
|
|
|
time
|
|
|
|
|
|
|
|
|
|
---HANG---
|
|
|
|
|
sscanf
|
|
|
|
|
>TEST_F(0x1234p56) - no %a formats
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---STACK IS SMALL---
|
|
|
|
|
use new -stack=1280000 option to pass test
|
|
|
|
|
tstring
|
|
|
|
|
strtodlong
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--other--
|
|
|
|
|
fscanf
|
|
|
|
|
-?scanf ignores width specs, '*' and [chars], cant read %a float
|
|
|
|
|
-%n counts as parameter
|
|
|
|
|
|
|
|
|
|
snprintf
|
|
|
|
|
-some format misturbances
|
|
|
|
|
-may incorrect prints unsigned > 2147483647L
|
|
|
|
|
|
|
|
|
|
ungetc
|
2018-03-12 21:41:06 +01:00
|
|
|
|
-ungetc fails if filepos == 0 - by design
|
2018-03-05 18:53:31 +01:00
|
|
|
|
|
|
|
|
|
all file ops limited to 2Gb
|
|
|
|
|
|
|
|
|
|
|