Subversion Repositories Kolibri OS

Rev

Rev 7184 | Blame | Last modification | View Log | Download | RSS feed

  1. see
  2. source/readme.*
  3. source/changelog
  4. source/tcc-doc.info or  .texi
  5.  
  6. building Kolibri version
  7. >make -f Makefile.kos32
  8.  
  9. ========= for compiler developers =========
  10. read .\source\readme_kos32.txt
  11.  
  12. ------ TODO -------
  13. -more libc stardard functions. see report below
  14. -more Kolibly SysFn wrappers. see \libc\KOSfuncs_inc_status.txt
  15. -add stdin, stderr, stdout emulation íå õâàòàåò stdin, stdout - ìîæíî ñäåëàòü êàê stderr!, íî íàäî âîçèòüñÿ çàîäíî ñ ferror & feof
  16. -getchar, gets if returs errorcode  (0, null) - you must exit program, because of closed console window  
  17. -ïðè íîðìàëüíîì âûõîäå çàêðûâàòü êîíñîëü
  18.  
  19.  
  20. ------ errors ------
  21. -åñëè ïðîåêò ìíîãîôàéëîâûé - .dbg ãåíåðèò äóáëèðóþùèåñÿ ìåòêè äàííûõ, òèïà L.78 ìîæåò óêàçûâàòü íà äðóãîé ñåãìåíò (
  22. -.dbg sometimes generated improperly for source code labels
  23.  
  24. ----- fixed errors ------
  25. -if static var sized more than 14096+ -> crash compiled .exe (kos)
  26. (^ default stack size set at compile time tccmeos:177 is below 4k)
  27. FIX - use -stack=1280000 option
  28. -con_set_title is NULL. fixed 180128
  29. -not working: default search path are ./include ./lib from executable (under KOS need to use -Bpath_to_ktcc)
  30. --start.o not found using -B (kos) - put near your.c file  fixed 181027
  31.  
  32.  
  33.  
  34. ========= libc ===========
  35. -no "finished" in title of console program after exit console - use con_exit()
  36. -used system memory allocator (4096 bytes minimum)
  37.  
  38.  
  39. libc not complete. overall status:
  40. no files:
  41. limits.h
  42. locale.h
  43. setjmp.h
  44. signal.h
  45. wchar.h
  46. wctype.h
  47.  
  48.  
  49.  
  50. functions absent list:
  51.  
  52. stdio.h:
  53. remove
  54. rename
  55. tmpfile
  56. tmpnam
  57. freopen
  58. setbuf
  59. setvbuf
  60.  
  61.  
  62. stdlib.h:
  63. atexit
  64. getenv
  65. system
  66. bsearch
  67. qsort
  68. mblen
  69. mbtowc
  70. wctomb
  71. mbstowcs
  72. wcstombs
  73.  
  74. string.h:
  75. strxfrm
  76.  
  77. time.h:  - needs include kos32sys1.h
  78. asctime
  79. ctime
  80. gmtime
  81. localtime - non standard
  82. strftime
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.             Status or libc tests
  90.  
  91. ---FAILED---
  92. strtoul incorrect work with big unsigned > MAX_LONG
  93.  
  94.  
  95. ---NOT TESTED---
  96. no library fns realized
  97. qsort
  98. time
  99.  
  100. ---HANG---
  101. sscanf
  102. >TEST_F(0x1234p56) - no %a formats
  103.  
  104.  
  105. ---STACK IS SMALL---
  106. use new -stack=1280000 option to pass test
  107. tstring
  108. strtodlong
  109.  
  110.  
  111. --other--
  112. fscanf
  113. -?scanf ignores width specs, '*' and [chars], cant read %a float
  114. -%n counts as parameter
  115.  
  116. snprintf
  117. -some format misturbances
  118. -may incorrect prints unsigned > 2147483647L
  119.  
  120. ungetc
  121. -ungetc fails if filepos == 0 - by design
  122.  
  123. all file ops limited to 2Gb
  124.  
  125.  
  126.