Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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