michael105 / minilib

A c standard system library with a focus on size, headeronly, "singlefile", intended for static linking. 187 Bytes for "Hello World"(regular elf), compiled with the standard gcc toolchain.
Other
37 stars 1 forks source link

todo #12

Open michael105 opened 5 years ago

michael105 commented 5 years ago

Get "hello world" down to 150 Bytes again. ( Currently: 185 Bytes)

michael105 commented 5 years ago

memos to me: It shouldn't be "minilibcombined.c" minilibcompiled.c names the thing better.

Sort of "bootstrapping" the build system would be nice. Supplying microperl and possibly tcc; both compiled with minilib.

michael105 commented 5 years ago

arrgh. it shouldn't be minilibcompiled.c. just the header. But I should weed out all comments, at least me I'm really not eager onto reading the compiled(combined) at all.

michael105 commented 5 years ago

Have a central location, where all these compileswitches are stored. Eventually include all sources (possibly packed) within one file. give a option to mini-gcc, which dumps out all compile-switches. Having a "silent" mode for compiling.