a6149c6dbbSet CONFIG_MULTIARCHDIR for cross compilers.
Reimar Döffinger
2015-01-18 21:21:59 +01:00
ae09558d71Build also WinCE cross compiler when cross compilers enabled.
Reimar Döffinger
2015-01-18 21:16:34 +01:00
e260b03686Allow tcc to understand a setob,... opcodes as alias to seto,...
seyko
2015-01-06 22:59:19 +03:00
c334b59142Warn about a conflicting compile options spectified on the command line. Try "tcc -E -c tccasm.c -o tccasm.o"
seyko
2015-01-06 22:19:45 +03:00
b93179f3c0.i as file extension Add a ".i" extension as alias for ".c" GCC and file extensions: .i C source code which should not be preprocessed.
seyko
2015-01-06 16:01:41 +03:00
524abd46b4round() in test (24_math_library) fail because there are no defs included. gcc complain but work right and tcc simply fail to compile right.
seyko
2015-01-05 18:23:32 +03:00
77ef3b2929crt1.c revision
Carlos Montiers
2014-12-30 00:25:52 -03:00
5a76c5d2f3Fix parsing of binary floating point number
Lee Duhem
2014-12-15 16:32:08 +08:00
178275dc0cDon't build libtcc1 with -fstack-protector-strong
Matteo Cypriani
2014-09-07 10:47:02 -04:00
14745bdeb7tccgen: nocode_wanted: do not output constants
grischka
2014-08-01 10:59:38 +02:00
12f43953edwin64: fix resource file support
grischka
2014-08-01 10:51:28 +02:00
73a7dd79afRemoved the error message and minor changes.
Carlos Montiers
2014-07-17 01:08:47 -04:00
7c474b4da3__getmainargs return int, not void, and on error, it return -1 and let argv untouched, also argc. Added a if checking the result of it.
Carlos Montiers
2014-07-16 22:22:05 -04:00
f2ee6b1759Fix mistake. Change jb by jbe. tiny c round (INT_MAX = 0x7FFFFFFF) to a DWORD boundary and it becomes 0x80000000. Jle treats as -214783648, but Jbe treats as 214783648. Thanks to Jason Hood for explain me this.
Carlos Montiers
2014-07-10 20:41:51 -04:00
8257829623Fix problem using alloca function, executable crashed even with a exception handler function, when try to allocate INT_MAX. Patch provided by Jason Hood in private e-mail, when I ask to him for help. He say: Feel free to pass it on to the mailing list.
Carlos Montiers
2014-07-10 00:37:20 -04:00
1fa0fe2786Revert "Win: Enable use "*.def + *.c" files as library instead of *.a by "-l" option"
Thomas Coudray
2014-06-20 13:26:29 +01:00
7a3f6d4941Win: Enable use "*.def + *.c" files as library instead of *.a by "-l" option
YX Hao
2014-06-16 16:00:46 +08:00
d316836008Let init_putz one-time generation. At the same time, increase the GCC style warning --------------------------------------------------------------------------- int main() { int a[10] = {[5]=5}; return 0; }
jiang
2014-05-28 22:09:49 +08:00
89134dd7b0Considering the effect of CH_EOF on line_num
jiang
2014-05-28 21:51:50 +08:00
698b16960aModify the 66_macro_concat_end.expect
jiang
2014-05-28 10:38:26 +08:00
bcf60562e0The number of rows to display warning is wrong For example: #define TOK_ASM_weak TOK_WEAK1 #define TOK_ASM_weak TOK_WEAK Output: C8.c:3: warning: TOK_ASM_weak redefined
jiang
2014-05-23 15:46:08 +08:00
196c9995151 macro_push and macro_pop work I made a mistake, no matter the definition does not define can be macro_push. And the modified tcctest.c test 2, pack: in the compiler under the mode of s1->ppfp, I have no clear ideas1->ppfp Some advice thank you Roy to me.This patch, I hope I can pass the Roy test
jiang
2014-05-17 00:55:02 +08:00
276553c6b2add push_macro test again
jiang
2014-05-16 15:44:51 +08:00
52891b6ff6fix push_macro, asked Tom to help me testfix push_macro
jiang
2014-05-16 12:15:00 +08:00
5a514107c4When tcc.exe update, abitest-tcc.exe not updated. For security, you must first clean up
jiang
2014-05-15 12:09:43 +08:00
5e56fb635aReturn to: e20c1eb99e 1: The new patch for the other machines still have the problem. 2: libcrt Rename (what if gcc had libcrt as well) 3: parse_number exact problem 4: VT_VLS is to allow tcc Compile the following int b = 9; struct st { int a; int b [b] }; struct st st1; st1.b [8] = 9; printf ("% d \ n", st1.b [8]);
jiang
2014-05-04 13:18:31 +08:00
089dea355atcc on i386 are still having problems at work.Thank Roy report again. Struck on several variables can be connected to commit in the register. I am worried whether tcc can run the os. Since my machine is ubuntu 64 bits I can test my machine.
jiang
2014-05-03 23:51:09 +08:00
a0d45c1bcdforget commit tccge.c for i386
jiang
2014-05-03 00:39:40 +08:00
6755b4a3deModify i386-gen.c, Thank Roy Tam reported problems
jiang
2014-05-03 00:33:19 +08:00
e647c3137dFix x86-64 vla For example, it should look like this High stack ------------- ----- Func_ret_sub ------------ ---- Vla stack ------------- ---- Known loc -------------- Low
jiang
2014-05-02 23:45:48 +08:00
6c8207633fFixes include the double quotes bug Added push_macro, pop_macro support Fix pack bug, when output with-E will pack the bug
jiang
2014-05-02 11:23:54 +08:00
5b52a44b52gen_putz () and struct_copy (), is to reduce the third-party call that generates faster code tcc Now only for x86-64 parse_number also to reduce the reliance on third-party libraries, allowing faster analysis tcc
jiang
2014-05-02 09:42:33 +08:00
ee99fd45abAdd a comment. ref: 2a8905c93b Sorry, I used the wrong command, I did not mean it. Thank grischka
jiang
2014-05-02 00:39:50 +08:00
504d40a328Attention: never use hard tabs other than 8 (eight) wide
grischka
2014-05-01 15:33:29 +02:00
59a22d59a2update for x86_64-gen.c
jiang
2014-05-01 20:58:43 +08:00