You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andrius Štikonas bdfabf040d Add support for riscv32. 3 days ago
M2libc@08a66159da now M2-Mesoplanet compiles hello world for x86 correctly 3 weeks ago
test Make output more closely match input to enable easier audits 1 month ago
.gitignore Minimal sanity test 2 months ago
.gitmodules Update cc_macro, cc_reader and port to M2libc. 2 months ago
LICENSE Initial commit 1 year ago
README Preserve __M2__ in output 4 days ago
README.org update options list in README and --help output 2 months ago
cc.c Minimal -I support added 3 days ago
cc.h Provide more advanced waitpid status analysis 3 days ago
cc_core.c Make output more closely match input to enable easier audits 1 month ago
cc_env.c Add support for riscv32. 3 days ago
cc_globals.c Starting to include debug info 6 days ago
cc_globals.h Starting to include debug info 6 days ago
cc_macro.c Preserve __M2__ in output 4 days ago
cc_reader.c now M2-Mesoplanet compiles hello world for x86 correctly 3 weeks ago
cc_spawn.c Provide more advanced waitpid status analysis 3 days ago
gcc_req.h Initial import of functionality from M2-Planet 1 year ago
makefile Produce a meaningful error message if unable to spawn essential binaries 4 days ago

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