mes/lib
Jan Nieuwenhuizen 6e7313263f
mescc: Mes C Library: Prepare for M2-Planet: __assert_fail.
Rewrite C-constructs not supported by M2-Planet, such as

    foo ? bar : baz;       -> if (foo) bar; else baz;
    static char foo[1024]  -> __func_buf = malloc (1024); ... char *foo = __func_buf;
    *foo                   -> foo[0]
    foo++                  -> foo = foo + 1   TODO: pointer arithmetic
    foo += 1;              -> foo = foo + 1
    for (int foo = ;       -> int foo; for (foo=
    if (foo)               -> if (foo != 0)
    if (!foo)              -> if (foo == 0)
    ;                      -> 0;

* lib/mes/__assert_fail.c: Rewrite C-constructs not supported by
M2-Planet.
2019-10-23 17:59:35 +02:00
..
ctype mescc: Mes C Library: Support GNU Awk: Add isgraph. 2019-10-05 17:37:03 +02:00
dirent build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
linux mescc: Mes C Library: Support GNU Tar: Add creat, mknod. 2019-10-05 17:37:04 +02:00
math mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
mes mescc: Mes C Library: Prepare for M2-Planet: __assert_fail. 2019-10-23 17:59:35 +02:00
posix mescc: Mes C Library: Support GNU Tar: Add execlp. 2019-10-05 17:37:02 +02:00
stdio Fix variable argument list traversal for doubles. 2019-10-05 17:38:19 +02:00
stdlib Add missing #include. 2019-10-21 21:43:04 +02:00
string mescc: Mes C Library: Fix compile warnings. 2019-10-05 17:37:02 +02:00
stub build: Improve --with-system-libc support. 2019-10-05 17:38:15 +02:00
tests Fix dtoab. 2019-10-21 21:43:03 +02:00
x86-mes porting: Add x86 scaffold: exit and write in assembly. 2019-06-13 14:19:59 +02:00
x86-mes-gcc porting: Add x86 scaffold: exit and write in assembly. 2019-06-13 14:19:59 +02:00
x86-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
x86_64-mes porting: Add x86_64 scaffold: exit and write in assembly. 2019-06-23 21:23:34 +02:00
x86_64-mes-gcc porting: Add x86_64 scaffold: exit and write in assembly. 2019-06-23 21:23:34 +02:00
x86_64-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
libtcc1.c mescc: Support tcc: libtcc1 build fixes. 2019-07-23 20:38:29 +02:00