Commit Graph

44 Commits

Author SHA1 Message Date
Coldy
4faa50bec6 fix autobuild
git-svn-id: svn://kolibrios.org@9783 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-24 17:46:31 +00:00
Coldy
db785142be ktcc: added __attribute__((dllimport)) support
git-svn-id: svn://kolibrios.org@9782 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-24 17:28:28 +00:00
turbocat
c5f03d0dac ktcc:
- Fixed autolink bug;
 - Mixed up members of IMAGE_MEOS_FILE_HEADER structure fixed.

git-svn-id: svn://kolibrios.org@9619 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 17:45:45 +00:00
turbocat
4f51865ee3 ktcc: Fixed tcc_find_symbol_me.
git-svn-id: svn://kolibrios.org@9617 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 00:24:09 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b7fe2ec210 fix libck
git-svn-id: svn://kolibrios.org@7172 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-05 17:53:31 +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
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
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
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