]> Kevux Git Server - fll/commit
Progress: Continue working on Featureless Make, focusing on printing.
authorKevin Day <kevin@kevux.org>
Tue, 21 Feb 2023 04:24:43 +0000 (22:24 -0600)
committerKevin Day <kevin@kevux.org>
Tue, 21 Feb 2023 04:24:43 +0000 (22:24 -0600)
commit43352e2ee41a11d74f35ae22ab5bdf5f60d6cea7
tree08706c644f4634dc55e9f1033da6b00ece77a836
parente89dc4f625404730f8c3713d01261fafcb721717
Progress: Continue working on Featureless Make, focusing on printing.

I noticed some odd behavior during this process where the file size of the resulting binary is increasing by as little as 72 bytes per function created.
I experimentally created a "void example_print(void) { }" function and was able to get that 72 number.
Fully populating or using the example_print function did not reduce or noticeably increase the file size.

I gave up experimenting and decided to continue on.
When I got close to wrapping up the print functions in the make, the resulting binary file size suddenly dropped 10k or so at least.
Once that dropped happened the functions no longer appeared to increase file size.
I suspect that there was some sort of weird optimization going on.

Some of the generic print functions in the fake make will probably be moved into the common directory as common print functions.
level_3/fake/c/main/make/load_fakefile.c
level_3/fake/c/main/make/operate_process_type.c
level_3/fake/c/main/make/operate_validate.c
level_3/fake/c/main/make/operate_validate_type.c
level_3/fake/c/main/make/print-error.c
level_3/fake/c/main/make/print-error.h
level_3/fake/c/main/make/print-warning.c
level_3/fake/c/main/make/print-warning.h
level_3/fake/c/main/make/print.c
level_3/fake/c/main/make/print.h