Subversion Repositories Kolibri OS

Rev

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