Go to file
Andrius Štikonas 791cec1343 Add support for spawning in UEFI. 2022-12-26 17:04:28 +00: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 Support -D flags 2022-09-26 12:50:09 -04:00
cc.h Provide more advanced waitpid status analysis 2022-01-23 13:10:08 -05: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 Enable more temp directory flexiblity 2022-03-21 12:19:42 -04:00
cc_globals.c Enable more temp directory flexiblity 2022-03-21 12:19:42 -04:00
cc_globals.h Enable more temp directory flexiblity 2022-03-21 12:19:42 -04:00
cc_macro.c Add support for #warning 2022-09-15 20:19:57 -04:00
cc_reader.c enable disabling of reading #includes 2022-04-09 18:09:27 -04:00
cc_spawn.c Add support for spawning in UEFI. 2022-12-26 17:04:28 +00: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