Commit Graph

223 Commits

Author SHA1 Message Date
turbocat
a7a2c9eb5f ktcc:
now uses crt0.o

git-svn-id: svn://kolibrios.org@8799 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:58:20 +00:00
turbocat
d7eea62637 libc.obj is now the default libc for tcc
git-svn-id: svn://kolibrios.org@8796 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:53:38 +00:00
turbocat
29ae440741 libc.obj
Fixed build

git-svn-id: svn://kolibrios.org@8794 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:40:17 +00:00
turbocat
b5b499b8c8 kolibri-libc:
Move to folder with tcc. Part 1

git-svn-id: svn://kolibrios.org@8793 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:37:44 +00:00
turbocat
9396efe6cd KTCC
Now KTCC gives the error "Linker error!" if the symbol was not found.
(Previously KTCC ignored these messages and generated an incorrect binary).

git-svn-id: svn://kolibrios.org@8786 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-09 03:07:04 +00:00
Kirill Lipatov (Leency)
3e035c29a7 some fixes
git-svn-id: svn://kolibrios.org@8781 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-08 09:42:04 +00:00
turbocat
86ba0f80f2 ktcc:
- Fixed "segmentation fault" if it is not possible to write to file

git-svn-id: svn://kolibrios.org@8716 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 20:14:40 +00:00
turbocat
43506beeb7 ktcc:
- Fixed boxlib.h
 - Removed unnecessary files

git-svn-id: svn://kolibrios.org@8708 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-30 22:32:21 +00:00
turbocat
4e4a78fb2d ktcc:
- Added files for developing programs with kolibri-libc

git-svn-id: svn://kolibrios.org@8685 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-26 21:12:04 +00:00
turbocat
6317b7f33c Tiny C Compiler:
- Temporarily unrecoverable errors with autoloading libraries.
Rollback to working state: r8558 

git-svn-id: svn://kolibrios.org@8678 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-23 20:54:03 +00:00
turbocat
b84cfc1204 Tiny C Compiler(ktcc):
- Fixed "segmentation fault" when using debug flag:" -g "in Linux version
 

git-svn-id: svn://kolibrios.org@8677 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-23 17:38:39 +00:00
turbocat
5f69e793ff ktcc:
- deleted libc.obj loader

git-svn-id: svn://kolibrios.org@8626 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 20:30:18 +00:00
turbocat
95e70a7b8c libc.obj.a(ktcc) :
- Added makefile
- Added mklib tools
- Fixed build

git-svn-id: svn://kolibrios.org@8621 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-01 21:52:10 +00:00
Magomed Kostoev (mkostoevr)
c7fc4ec5b4 Update TCC binary
git-svn-id: svn://kolibrios.org@8609 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 22:05:15 +00:00
Magomed Kostoev (mkostoevr)
b9c2c188c5 Update autoimporting libraries to put specific data at the end if the executable file
git-svn-id: svn://kolibrios.org@8608 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 21:44:40 +00:00
Magomed Kostoev (mkostoevr)
0fa9abba42 Update make.bat for librasterworks.a
It needed to be fully rewritten

git-svn-id: svn://kolibrios.org@8607 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 21:04:20 +00:00
Magomed Kostoev (mkostoevr)
7fc2d33833 Update librasterworks.a making batch (output file name)
git-svn-id: svn://kolibrios.org@8606 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 21:01:10 +00:00
Magomed Kostoev (mkostoevr)
32a9e36b93 Put imports into ".imp.@." sections.
Now it's not necessary to put linking of these libraries at the end of tcc command line.

git-svn-id: svn://kolibrios.org@8605 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 20:59:07 +00:00
Magomed Kostoev (mkostoevr)
521bee47b1 Make TCC write ".imp.@." section at the end of the file.
Now it's possible to write import table at the end of file without need to put linking of autoimporting libraries at the very end of command line.

git-svn-id: svn://kolibrios.org@8604 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 16:37:49 +00:00
Magomed Kostoev (mkostoevr)
ccc434de43 Add libc.obj wrapper for autoimport
git-svn-id: svn://kolibrios.org@8603 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-22 15:41:44 +00:00
superturbocat2001
b99f8ed178 - Fixed definition names for clipboard functions
git-svn-id: svn://kolibrios.org@8564 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-02 08:04:41 +00:00
superturbocat2001
26aceab675 - Added http_free function to http.h (ktcc)
git-svn-id: svn://kolibrios.org@8558 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-01 06:27:10 +00:00
superturbocat2001
44b8c6baec - Fixed URL link in dynamic.c
git-svn-id: svn://kolibrios.org@8551 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-26 08:56:59 +00:00
superturbocat2001
bf1811e1f5 - Moved header files from kos to clayer.
- Fixed function names in libhttp. 
- Fixed example dynamic.c 
- Added macro fixing bug http_receive

git-svn-id: svn://kolibrios.org@8549 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-26 08:40:56 +00:00
superturbocat2001
93b1a72645 - Fixed #pragma pack in libimg.h
git-svn-id: svn://kolibrios.org@8543 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-24 18:57:20 +00:00
superturbocat2001
c68065b23e - Added new function to libimg.h
- Updated libimg example
( applicable to ktcc )

git-svn-id: svn://kolibrios.org@8541 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-23 08:16:35 +00:00
superturbocat2001
fa2d611c7e Fixed strerror function and added socket error handling.
Cleared all libck warnings. 
Updated libimg.h

git-svn-id: svn://kolibrios.org@8540 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-18 22:04:07 +00:00
superturbocat2001
a61177b2ae - Moved error codes to errno.h
- Removed non-working files for compilation via gcc.

git-svn-id: svn://kolibrios.org@8536 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-15 21:48:24 +00:00
superturbocat2001
38cd0f8a9a - Updated tcp_demo example.
git-svn-id: svn://kolibrios.org@8521 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-05 15:29:30 +00:00
superturbocat2001
0c1a5475ab - Fixed socket functions for compatibility with UNIX.
git-svn-id: svn://kolibrios.org@8514 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-04 20:24:35 +00:00
superturbocat2001
a0d5358c87 - Fix scrollbar crash BoxLib example.
git-svn-id: svn://kolibrios.org@8508 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-03 19:21:28 +00:00
superturbocat2001
4d192ca472 - Fixed boxlib loader
- Updated example boxlib.c

git-svn-id: svn://kolibrios.org@8465 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:12:23 +00:00
superturbocat2001
1dab73b754 - Added macros X_W and Y_H and deleted debug kos32sys1.h
- Moved debug functions to libc.a
- Removed console.h since libcon no longer exists
- Added tcc_http_demo to build_all.sh
(Applies to ktcc)

git-svn-id: svn://kolibrios.org@8464 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:08:02 +00:00
51f9df912f ktcc: http_tcp_demo refactoring & net/network.h small fix
git-svn-id: svn://kolibrios.org@8450 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 22:44:07 +00:00
045e0dbdd2 ktcc: added sample http_tcp_demo - working with http using only tcp sockets
git-svn-id: svn://kolibrios.org@8448 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 18:38:07 +00:00
superturbocat2001
18fd7921cf - Added libdialog binary
- Fixed buid_all.sh

git-svn-id: svn://kolibrios.org@8428 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 18:13:19 +00:00
superturbocat2001
826c0501b8 - Added libdialog.a (proc_lib loader) and sample
- Deleted old console example (replacement: consoleio)
- Added RGB struct to kos32sys1.h
(applies to ktcc)

git-svn-id: svn://kolibrios.org@8426 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 17:15:39 +00:00
superturbocat2001
561e5c5b1c - Fixed math.h
git-svn-id: svn://kolibrios.org@8406 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 15:18:31 +00:00
superturbocat2001
e3dcd433b3 - Added TinyGL for ktcc
- Added TinyGL example "gears"

git-svn-id: svn://kolibrios.org@8405 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 14:38:38 +00:00
superturbocat2001
5b3b09698f - Removed melibc in ktcc
git-svn-id: svn://kolibrios.org@8404 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 12:27:58 +00:00
superturbocat2001
ccc4de1b67 - Removed non existing functions from math.h.
- Added "sys_change_window" function to kos32sys1.h. 
- Installed "pragma pack" for the structure in kolibrisys.h.

git-svn-id: svn://kolibrios.org@8403 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 12:19:25 +00:00
superturbocat2001
99103794f2 - Added simple function "getopt" in stdlib (tcc)
git-svn-id: svn://kolibrios.org@8380 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-12 20:09:30 +00:00
superturbocat2001
cfd4d26cef - Added definitions for clipboard functions.
- Added DATA macro for convenient memory access by offset.
- Removed kos32sys1beta.h since it is not used anywhere
(applicable to ktcc)

git-svn-id: svn://kolibrios.org@8374 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 21:05:55 +00:00
superturbocat2001
14e3d78c64 - Changed libgb assembly and added libcryptal (implementation of cryptoalgorithms from Brad Conte).
- Changed build libgb.
- Added memory.h for compatibility.

git-svn-id: svn://kolibrios.org@8367 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 17:07:49 +00:00
superturbocat2001
bed1d7841c Changed parameters of "socketpair" function in libck (ktcc)
git-svn-id: svn://kolibrios.org@8344 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 18:36:23 +00:00
superturbocat2001
4c90768ccb - network.obj loader has been moved to a separate libnetwork.a library
git-svn-id: svn://kolibrios.org@8338 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 23:36:57 +00:00
superturbocat2001
1094e71a7d - added network.obj loader
- added _ksys_kill_process function
in libck.a ktcc

git-svn-id: svn://kolibrios.org@8337 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 21:19:51 +00:00
superturbocat2001
195c220c21 fixed socketpair() function in libck
git-svn-id: svn://kolibrios.org@8317 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-04 06:40:20 +00:00
superturbocat2001
818c477d6f - Added functions for working with sockets in libck tcc
git-svn-id: svn://kolibrios.org@8315 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-03 17:27:05 +00:00
superturbocat2001
e303140339 Removed duplicate #define PATH_MAX
git-svn-id: svn://kolibrios.org@8290 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 16:30:24 +00:00
superturbocat2001
5451715e39 - Added "lsdir" function to libck ktcc.
- Added "fs" folder to build.bat in libck for tcc.
- Updated libck and dir_example

git-svn-id: svn://kolibrios.org@8289 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 16:19:41 +00:00
maxcodehack
3ffe214e13 Add Makefile to kos32-tcc sample programs
git-svn-id: svn://kolibrios.org@8282 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-30 07:38:09 +00:00
superturbocat2001
5941f0e334 - Added 4 functions to libck: getcwd, setcwd, mkdir, rmdir.
- Fixed Makefile for building "libck" under tcc. 
- Added example to new functions

git-svn-id: svn://kolibrios.org@8280 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-29 22:05:50 +00:00
superturbocat2001
dc1e174943 Disabled static linking when building Linux version of TCC.
git-svn-id: svn://kolibrios.org@8274 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 20:57:58 +00:00
superturbocat2001
2f517f2ecb Fixed Makefile.kos32 in TCC (New path to ld script)
git-svn-id: svn://kolibrios.org@8273 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 19:43:51 +00:00
superturbocat2001
dbc1c764b1 - Added compress target to Makefile.linux32 (Uses UPX)
- Fixed TCC for linux bug: does not find library and headers as well as start.o
- Updated kos32-tcc

git-svn-id: svn://kolibrios.org@8272 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 19:19:06 +00:00
superturbocat2001
2e992f24ea - Added TEAtool source files
- Compressed kos32-tcc
- Changed the paths of the output files in buid_all.sh

git-svn-id: svn://kolibrios.org@8251 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 15:13:42 +00:00
superturbocat2001
36b26f112a - Fixed ktcc build for linux
- Added Makefile.linux32
- Added TEAtool and fixed console title
- Fixed crash of THashView

git-svn-id: svn://kolibrios.org@8250 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 14:40:29 +00:00
Kirill Lipatov (Leency)
9b502d851f rename libmelibc.a_ into libmelibc.a
git-svn-id: svn://kolibrios.org@8234 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-21 15:30:09 +00:00
maxcodehack
f75ba1987d Add example to TCC melibc #2
git-svn-id: svn://kolibrios.org@8231 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-21 13:31:00 +00:00
maxcodehack
eeaa6d8239 Add melibc sample to TCC
git-svn-id: svn://kolibrios.org@8228 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-21 13:04:18 +00:00
maxcodehack
25cf1adde0 Fix 'dynamic.c 'autobuild (build_all.sh)
Add 'console.c' to autobuild

git-svn-id: svn://kolibrios.org@8195 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-14 17:57:14 +00:00
maxcodehack
03f5f50786 Fix drawing artefacts in boxlib example
git-svn-id: svn://kolibrios.org@8194 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-14 17:43:59 +00:00
maxcodehack
a797e5d3ef move image
git-svn-id: svn://kolibrios.org@8189 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 17:59:30 +00:00
maxcodehack
6e33acd6ee Add libimg example to build_all.sh
git-svn-id: svn://kolibrios.org@8188 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 17:54:21 +00:00
maxcodehack
9a24f3f7fb Tcc:
Add libimg example, update other examples

git-svn-id: svn://kolibrios.org@8187 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 17:47:07 +00:00
maxcodehack
dee3b0b3ed Add boxlib example without lib kolibri_gui. Only kos32sys.h (GCC)
git-svn-id: svn://kolibrios.org@8185 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 16:40:41 +00:00
maxcodehack
1930e23f58 Ktcc:
- kos32sys1.h: Tcc dont support aliasing but support defines
- boxlib sample: Update sample for upper fix
- Rasterworks example: Fix 'bright' letters

git-svn-id: svn://kolibrios.org@8171 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-10 18:53:57 +00:00
Magomed Kostoev (mkostoevr)
147e8fa432 Microrefactoring + check build system out.
git-svn-id: svn://kolibrios.org@8159 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-07 09:07:06 +00:00
Magomed Kostoev (mkostoevr)
c369f06816 Cool, this was not my mistake, patch TCC again.
Admin, please look what's happened with build server, GCC needs a missing library?

git-svn-id: svn://kolibrios.org@8157 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 20:22:05 +00:00
Magomed Kostoev (mkostoevr)
ffcd3a73e0 Ok... What about the binary? Did IT break the build?
git-svn-id: svn://kolibrios.org@8156 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 20:17:06 +00:00
Magomed Kostoev (mkostoevr)
fa67855b83 Try to beat the strange break - revert all files from the last commit.
git-svn-id: svn://kolibrios.org@8155 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 20:14:24 +00:00
Magomed Kostoev (mkostoevr)
0fe740bca1 TCC: Add -nobss option to not include BSS sections in output file.
git-svn-id: svn://kolibrios.org@8154 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-06 20:02:56 +00:00
maxcodehack
a26092c937 Update boxlib example:
Add progressbar

git-svn-id: svn://kolibrios.org@8110 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-18 16:08:37 +00:00
maxcodehack
1c69f15cea Edit samples
git-svn-id: svn://kolibrios.org@8109 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-18 11:18:51 +00:00
maxcodehack
8ce9d8845f Remove libconsole.a and libbox_lib.a and their sources
Now we can use console via conio.h
Boxlib via libbox.a

git-svn-id: svn://kolibrios.org@8108 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-18 11:07:44 +00:00
superturbocat2001
6d98726351 - Added libbox.a and libbuf2d.a to TinyC.
- The structure of the header files has been reorganized.

git-svn-id: svn://kolibrios.org@8107 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 17:31:09 +00:00
maxcodehack
6154138ea6 clayer TinyC
- Add new sample
- Fix bug: 'Unexpected stack end'

git-svn-id: svn://kolibrios.org@8106 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 16:30:47 +00:00
maxcodehack
0e3c6b922f Add .o
git-svn-id: svn://kolibrios.org@8105 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 13:27:07 +00:00
maxcodehack
d887c0ddfb Add C_Layer for TinyC
- Boxlib wrapper

git-svn-id: svn://kolibrios.org@8104 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 13:25:57 +00:00
superturbocat2001
fe1a451ca0 Added source code for libraries
git-svn-id: svn://kolibrios.org@8102 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-15 23:20:59 +00:00
superturbocat2001
71b2505f8a Added libraries to ktcc: "rasterworks", "libimg", "libgb", "msgbox". And also an examples for these libraries.
Fixed header file "msgbox.h"

git-svn-id: svn://kolibrios.org@8101 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-15 23:17:06 +00:00
superturbocat2001
df0d0be7d4 Added "libmsgbox" to ktcc.
Added examples for working with coff-libraries and "libmsgbox" to ktcc. 
Modified binutils to work normally via console.obj.

git-svn-id: svn://kolibrios.org@8098 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-14 00:28:46 +00:00
Magomed Kostoev (mkostoevr)
1d69bdef68 Add library for importing functions from Box_lib.obj via tcc.
git-svn-id: svn://kolibrios.org@8057 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-08-21 14:20:54 +00:00
Magomed Kostoev (mkostoevr)
a78dbc7bec Typo in dlfcn.c
git-svn-id: svn://kolibrios.org@7950 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-19 12:05:54 +00:00
Magomed Kostoev (mkostoevr)
9cf480409c Add functions from <libgen.h>
Add memrchr.c

git-svn-id: svn://kolibrios.org@7949 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-19 11:02:39 +00:00
Magomed Kostoev (mkostoevr)
01b4a611af Make examples more presentable.
git-svn-id: svn://kolibrios.org@7948 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-19 09:38:59 +00:00
Magomed Kostoev (mkostoevr)
fa93417e04 Add lib binaries for dynamic linking (IDK, why SVN skept em before)
git-svn-id: svn://kolibrios.org@7926 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-16 08:15:45 +00:00
Magomed Kostoev (mkostoevr)
90cf9246ac Implement dynamic linking with system libraries via -lsyslibname:
console.obj
http.ibj
InputBox.obj
Add header files for apps what dynamically link these libraries.


git-svn-id: svn://kolibrios.org@7925 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-16 08:07:10 +00:00
Kirill Lipatov (Leency)
842c228f23 add tcc/samples/build_all.sh
git-svn-id: svn://kolibrios.org@7910 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-11 07:32:44 +00:00
a7d4a56bcc fix bug in "localtime" and "mktime" functions
git-svn-id: svn://kolibrios.org@7888 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-07 12:22:17 +00:00
Magomed Kostoev (mkostoevr)
d7529d70c3 Fix issue #48 [http://bugs.kolibri-n.org/?id=48]
git-svn-id: svn://kolibrios.org@7857 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-03 08:21:08 +00:00
Magomed Kostoev (mkostoevr)
a76259a20a Update libck.a:
Add <dlfcn.h> functions
Update sysmalloc, sysrealloc and sysfree to preserve general purpose registers.
Remove (likely accidentaly inserted) wtalloc.o.

git-svn-id: svn://kolibrios.org@7856 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-03 08:13:04 +00:00
Magomed Kostoev (mkostoevr)
71b99beec5 Make libck project self-containing.
git-svn-id: svn://kolibrios.org@7855 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-03 08:09:36 +00:00
Magomed Kostoev (mkostoevr)
be1d6256c6 Second call of dlerror should return NULL by the POSIX standard.
git-svn-id: svn://kolibrios.org@7851 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-30 11:01:55 +00:00
Kirill Lipatov (Leency)
ef6d8a9089 remove duplication simple, force to add lib/*
git-svn-id: svn://kolibrios.org@7850 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-30 10:05:04 +00:00
Kirill Lipatov (Leency)
b364fe71e3 TCC: join two dirs into one
git-svn-id: svn://kolibrios.org@7849 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-30 09:59:56 +00:00
Magomed Kostoev (mkostoevr)
46051e254f Add <dlfcn.h> functions to libck.a (these functions initialize COFF library the same way as dll.inc)
git-svn-id: svn://kolibrios.org@7847 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-30 08:47:52 +00:00
0408ac5bde kolibrisys.h fix: added missing _ksys_pci_write_config_dword signature
git-svn-id: svn://kolibrios.org@7820 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-23 11:22:34 +00:00
siemargl
f81857f08c better suballocator
git-svn-id: svn://kolibrios.org@7537 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-07 17:27:07 +00:00
siemargl
2650f5831f suballocator plus path fixes
git-svn-id: svn://kolibrios.org@7520 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-01 17:24:22 +00:00
siemargl
6642abcbb2 tcc lib fix coffload, fwrite
git-svn-id: svn://kolibrios.org@7418 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-09-25 11:52:22 +00:00
siemargl
524cab3cd8 added read buffering, ungetc
git-svn-id: svn://kolibrios.org@7184 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-12 20:41:06 +00:00
siemargl
b7fe2ec210 fix libck
git-svn-id: svn://kolibrios.org@7172 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-05 17:53:31 +00:00
2c778124e3 Remove some duplicates: proc32.inc, macros.inc, struct.inc, etc.
git-svn-id: svn://kolibrios.org@7134 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 00:51:00 +00:00
siemargl
80c223b078 fix zero BSS segments
git-svn-id: svn://kolibrios.org@6858 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-06 19:46:12 +00:00
d800abd154 Add ktcc to autobuild
git-svn-id: svn://kolibrios.org@6829 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-19 02:34:41 +00:00
siemargl
726024dfe0 fix startup, gcc5.4 ready
git-svn-id: svn://kolibrios.org@6574 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-07 09:23:37 +00:00
siemargl
26c74ab3f2 samples upd
git-svn-id: svn://kolibrios.org@6460 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-09 19:44:55 +00:00
siemargl
3e571bd7cc small polish, samples
git-svn-id: svn://kolibrios.org@6443 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-06-10 11:10:52 +00:00
siemargl
227eb8887f debugger info, big stack opt
git-svn-id: svn://kolibrios.org@6441 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-06-05 17:15:52 +00:00
siemargl
65400f0014 small math fix & readme
git-svn-id: svn://kolibrios.org@6439 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-29 05:32:28 +00:00
siemargl
ace23ebbe2 libc testsuite + fixes
git-svn-id: svn://kolibrios.org@6433 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-19 12:15:22 +00:00
siemargl
cd8030cee3 ctype+scanf fix
git-svn-id: svn://kolibrios.org@6432 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-16 11:03:59 +00:00
siemargl
9eb1268c4d added *scanf family
git-svn-id: svn://kolibrios.org@6431 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-15 19:19:22 +00:00
siemargl
b5e7b54c7a compiler 0.9.26 release
git-svn-id: svn://kolibrios.org@6429 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-14 08:56:15 +00:00
siemargl
1499413a0c printf fixes
git-svn-id: svn://kolibrios.org@6425 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-12 11:23:42 +00:00
siemargl
af35cc6783 release ktcc 0.9.26
git-svn-id: svn://kolibrios.org@6424 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-05-11 14:53:54 +00:00
siemargl
9bafc8aa7b bugfixing
git-svn-id: svn://kolibrios.org@6412 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-04-30 13:50:04 +00:00
siemargl
845d2f0618 small fixes. need more
git-svn-id: svn://kolibrios.org@6410 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-04-27 19:59:20 +00:00
Kirill Lipatov (Leency)
20ace41f1f system_colors: global rename and change meaning of "grab_button" to "work_3d_dark", and "grab_button_text" to "work_3d_light", the legacy of new_sys_colors table
git-svn-id: svn://kolibrios.org@6196 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-11 10:44:47 +00:00
andrew_programmer
48ecbd9104 Mathematical functions are added some.
It is added makefile for compilation of programs under KolibriOS with the help gcc.

git-svn-id: svn://kolibrios.org@696 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-01-14 19:33:34 +00:00
andrew_programmer
16f5992719 Mistakes in functions of work with files and with system calls KolibriOS are corrected.
New functions for work with system calls KolibriOS are added. Functions for format output 
are added: printf (), fprintf (), sprintf (), snprintf (), vsnprintf (). For material 
numbers it is meanwhile supported only format output the (%f), and exponential output a (%e)
is not realized yet. 
Functions for format output correctly work only in GCC because TinyC incorrectly works with
the functions containing variable number of arguments.

git-svn-id: svn://kolibrios.org@647 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-15 09:42:17 +00:00