Commit Graph

177 Commits

Author SHA1 Message Date
turbocat
b50d4e8c3f ktcc:
- Added autolink libc.def and libtcc1;
- Fixed find crt0.o with arg -B (MUST BE REVISED);

git-svn-id: svn://kolibrios.org@9615 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 20:39:28 +00:00
vitalkrilov
46d9482bb0 Fixed misuse of "/rd/1" (changed to "/sys") for all other programs
git-svn-id: svn://kolibrios.org@9587 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 12:42:44 +00:00
turbocat
e08c6968ef ktcc: rollback to r9529
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-02 12:16:17 +00:00
turbocat
5c8619e65c ktcc:
- fixed bug with crt0.o search when using -B parameter.
 - removed support for tcc.conf.

git-svn-id: svn://kolibrios.org@9557 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 20:05:13 +00:00
turbocat
b91e4571a3 ktcc: fixed crt0.asm build and added to lib folder
git-svn-id: svn://kolibrios.org@9556 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:53:09 +00:00
turbocat
c62ef7970d libc.obj: Use crt0.asm by Coldy as default
git-svn-id: svn://kolibrios.org@9554 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:38:32 +00:00
turbocat
0428045f25 libc.obj: Updated samples.
git-svn-id: svn://kolibrios.org@9553 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:37:00 +00:00
turbocat
1eff55fdee libc.obj: Fix clayer headers for work def.
git-svn-id: svn://kolibrios.org@9552 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:33:14 +00:00
turbocat
b090eb116d ktcc: is now KX by default. Added new def files for import.
git-svn-id: svn://kolibrios.org@9551 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:31:26 +00:00
turbocat
5d71c48018 ktcc: Deleted residual files
git-svn-id: svn://kolibrios.org@9550 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:25:02 +00:00
turbocat
4f6fba63fd ktcc: Removed old samples and old libctest.
git-svn-id: svn://kolibrios.org@9549 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:23:35 +00:00
turbocat
e0891b157c ktcc: removed old COFF library wrappers.
git-svn-id: svn://kolibrios.org@9548 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:22:40 +00:00
turbocat
e0e11ba32b ktcc: Delete old libc sources
git-svn-id: svn://kolibrios.org@9547 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:20:03 +00:00
turbocat
a3a9827bf6 ktcc: fixed autobuild
git-svn-id: svn://kolibrios.org@9546 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:16:17 +00:00
turbocat
c5b0697beb ktcc: Added autolink libc.def and libtcc1.a
git-svn-id: svn://kolibrios.org@9545 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:13:06 +00:00
turbocat
ed503e101c ktcc: disabled auto-build for linux and windows (not enough tools).
git-svn-id: svn://kolibrios.org@9544 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 15:39:46 +00:00
turbocat
85c4fdb6b2 ktcc: added linux and windows tup-build.
git-svn-id: svn://kolibrios.org@9543 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 15:34:31 +00:00
IgorA
ee947e3840 fix 'sscanf' by vitalkrilov
git-svn-id: svn://kolibrios.org@9529 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-30 16:45:04 +00:00
Coldy
1f8ba94314 ktcc: Temporary disable KX extension (by default)
git-svn-id: svn://kolibrios.org@9523 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-29 19:53:10 +00:00
Coldy
57ea3e92bd Add KX extension to tcc (autoload w/import table support), phase 2.3
Done, fully added to distributive 


git-svn-id: svn://kolibrios.org@9517 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-28 20:05:47 +00:00
turbocat
cfde3b082c libc.obj: added missing sin and tan
git-svn-id: svn://kolibrios.org@9515 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-28 18:17:27 +00:00
Coldy
2f2a91947f Add KX extension to tcc (autoload w/import table support), phase 2.2
Fixed bug in case unused libraries
Improved align algorithm
Filled kx folder including docs, libs

git-svn-id: svn://kolibrios.org@9513 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-28 11:56:49 +00:00
Kirill Lipatov (Leency)
56f2108b54 various updates, rework skin_feol_new
git-svn-id: svn://kolibrios.org@9482 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-27 01:12:27 +00:00
turbocat
c344589fa0 Fixed bug: https://board.kolibrios.org/viewtopic.php?f=24&p=77680#p77627 (thanks Coldy)
git-svn-id: svn://kolibrios.org@9463 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-23 17:07:46 +00:00
Coldy
7aed43b0ca Add KX extension to tcc (autoload w/import table support), phase 2.1
Fixed bugs
Add new features (name prefix to conflicts solve, display version, __KX__ macro)
Added kx folder with new crt0.o (crt.asm), some *.def and libtcc.a 

git-svn-id: svn://kolibrios.org@9305 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-24 18:13:35 +00:00
Coldy
664e46d057 Add KX extension to tcc (autoload w/import table support), phase 1
git-svn-id: svn://kolibrios.org@9284 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-17 18:44:24 +00:00
turbocat
9257d2c34c libc.obj:
- Added basename() and  dirname()
 - libc_test all tabs -> spaces

git-svn-id: svn://kolibrios.org@9262 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-12 22:45:22 +00:00
turbocat
f0928164bd libc.obj: fixed asctime() format and UTC mktime() bug.
git-svn-id: svn://kolibrios.org@9260 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-07 19:29:12 +00:00
turbocat
cf33391052 ktcc: Delete old tinygl library
git-svn-id: svn://kolibrios.org@9247 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-04 20:25:19 +00:00
turbocat
9ca128acbd Added libc_test.c for testing libc.obj (by "navichok26")
git-svn-id: svn://kolibrios.org@9242 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-03 18:52:54 +00:00
turbocat
82ddf447d5 libc.obj: Fixed div, ldiv, lldiv ( problem with the compatibility of returned structures in functions between tcc and gcc) thanks to Boppan).
git-svn-id: svn://kolibrios.org@9233 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-02 21:29:04 +00:00
turbocat
bd8a5b6e8e libc.obj:
- added strtod();
 - added "+" to fopen mode; 

git-svn-id: svn://kolibrios.org@9230 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-01 14:46:28 +00:00
turbocat
5ab7151d7d ktcc : libcryptal fixed crash
git-svn-id: svn://kolibrios.org@9229 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-01 10:03:14 +00:00
turbocat
d38b3890d2 Added libshell for TCC
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 19:56:07 +00:00
turbocat
7409019c5d Loaded libSDL.a, libsound.a and updated libc.obj.a for tcc.
git-svn-id: svn://kolibrios.org@9205 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 17:59:57 +00:00
turbocat
2076a4a777 libc.obj:
- Added vsprintf to export
 - Added sdltest.c example

git-svn-id: svn://kolibrios.org@9204 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 17:55:43 +00:00
turbocat
4918685b4a libc.obj: Fixed calloc function
git-svn-id: svn://kolibrios.org@9189 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-13 19:02:24 +00:00
turbocat
9d2e5a6e3a libc.obj:
- Extra zero for use with gcc

git-svn-id: svn://kolibrios.org@9179 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-06 20:24:26 +00:00
turbocat
109befa1e4 libc.obj:
- fixed fread bug  

git-svn-id: svn://kolibrios.org@9165 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-29 18:27:24 +00:00
turbocat
785dcb3341 libc.obj:
- fixed return fwrite and fread as well as eof

git-svn-id: svn://kolibrios.org@9156 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-26 20:35:11 +00:00
turbocat
e5501138fe "thread_work" C example added to "build_all.sh"
git-svn-id: svn://kolibrios.org@9155 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-25 19:01:29 +00:00
turbocat
89808a957a ktcc:
- disabled for windows and linux build

git-svn-id: svn://kolibrios.org@9154 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-25 18:47:45 +00:00
turbocat
e08cff4a2a ktcc:
- added definitions of _KOLIBRI, _KOLIBRI, _KOLIBRI_  by default 
- added ktcc for Windows and Linux to autobuild

git-svn-id: svn://kolibrios.org@9153 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-25 18:30:26 +00:00
turbocat
e7ec006b8b libc.obj:
- Added atof function
- Added example for working with threads

git-svn-id: svn://kolibrios.org@9137 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-15 20:21:32 +00:00
turbocat
52dd2872bf libc,obj:
- changed wrapper names

git-svn-id: svn://kolibrios.org@9094 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-27 00:20:54 +00:00
turbocat
e10c8c25cc libc.obj:
- restructured ksys.h

git-svn-id: svn://kolibrios.org@9093 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-26 23:42:35 +00:00
turbocat
8fa851ddb6 libc.obj:
strtol.с  - removed existing definitions;
fgets.c - uses fread() to read;
gets.c  - added additional check;

git-svn-id: svn://kolibrios.org@9081 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-24 21:28:39 +00:00
turbocat
f1b06bbf99 libc.obj:
updated constants

git-svn-id: svn://kolibrios.org@9077 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-23 20:24:26 +00:00
turbocat
678de81f24 kolibri-libc:
- added qsort and assert
- delete junk files
- updated libc loader


git-svn-id: svn://kolibrios.org@9013 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-06 18:18:46 +00:00
turbocat
899135aa6d Added build_all.sh
git-svn-id: svn://kolibrios.org@8820 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 23:57:15 +00:00