Commit Graph

21 Commits

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