Go to file
Jeremiah Orians 5a706e6478
provide meaningful details on crashes and on terminated processes
2022-01-22 17:42:08 -05:00
M2libc@08a66159da now M2-Mesoplanet compiles hello world for x86 correctly 2022-01-05 07:13:24 -05:00
test Make output more closely match input to enable easier audits 2021-12-26 07:42:54 -05:00
.gitignore Minimal sanity test 2021-11-21 17:16:42 -05:00
.gitmodules Update cc_macro, cc_reader and port to M2libc. 2021-11-21 21:09:14 +00:00
LICENSE Initial commit 2021-01-10 08:19:41 -05:00
README Preserve __M2__ in output 2022-01-22 13:55:09 -05:00
README.org update options list in README and --help output 2021-11-23 22:57:01 +01:00
cc.c Preserve __M2__ in output 2022-01-22 13:55:09 -05:00
cc.h Match macro argument names with their expansions. 2021-11-27 17:52:11 +00:00
cc_core.c Make output more closely match input to enable easier audits 2021-12-26 07:42:54 -05:00
cc_env.c Starting to include debug info 2022-01-20 21:35:14 -05:00
cc_globals.c Starting to include debug info 2022-01-20 21:35:14 -05:00
cc_globals.h Starting to include debug info 2022-01-20 21:35:14 -05:00
cc_macro.c Preserve __M2__ in output 2022-01-22 13:55:09 -05:00
cc_reader.c now M2-Mesoplanet compiles hello world for x86 correctly 2022-01-05 07:13:24 -05:00
cc_spawn.c provide meaningful details on crashes and on terminated processes 2022-01-22 17:42:08 -05:00
gcc_req.h Initial import of functionality from M2-Planet 2021-01-10 09:34:10 -05:00
makefile Produce a meaningful error message if unable to spawn essential binaries 2022-01-22 16:31:38 -05:00

README

#+title: M2-Mesoplanet
Macro Expander Saving Our m2-PLANET

* About
M2-Mesoplanet simplifies the bootstrappable stage0/M2-Planet toolchain by imitating gcc's behaviour.

* Options
 - -f <path> :: input file (specify as many as necessary)
 - -o <path> :: output file (specify once)
 - --help  or -h :: output simple help message
 - --version or -V :: output file version

 - -E or --preprocess-only :: do not spawn processes to generate executable file
 - --max-string <N>  :: N is a number
 - --fuzz :: prevents execution of dangerous random garbage
 - --no-debug :: strip debug symbols from output
 - --dirty-mode :: keep all temp files
 - --debug-mode <N> :: N is a number