Commit Graph

129 Commits

Author SHA1 Message Date
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
turbocat
599cbe26ed ktcc + libc.obj:
- ksys.h - added event mask enum
- samples - old examples updated
- delete junk files

git-svn-id: svn://kolibrios.org@8818 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 22:27:24 +00:00
turbocat
9112211df9 ktcc:
Added libc.obj.a libtcc.a crt0.a

git-svn-id: svn://kolibrios.org@8804 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 16:07:04 +00:00
turbocat
de30a03cac Fixed build libc.obj
git-svn-id: svn://kolibrios.org@8803 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 16:02:15 +00:00
turbocat
59bae692da Uodate kos32-tcc
git-svn-id: svn://kolibrios.org@8800 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 15:01:50 +00:00
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