Commit Graph

27 Commits

Author SHA1 Message Date
Jeremiah Orians 7f3a0d4cd8
Support -D flags 2022-09-26 12:50:09 -04:00
Jeremiah Orians 09d43f0538
enable disabling of reading #includes 2022-04-09 18:09:27 -04:00
Jeremiah Orians 9895dab8dd
Enable more temp directory flexiblity 2022-03-21 12:19:42 -04:00
fosslinux 03bd6bda76 Allow M2-Mesoplanet to work on systems without /tmp
such as live-bootstrap
2022-03-21 20:28:53 +11:00
Jeremiah Orians bb0260eb1b
get a subset of the arguments processed before setting up environment 2022-01-25 21:51:20 -05:00
Jeremiah Orians b76123326e
A much less wasteful envp setup 2022-01-24 21:39:43 -05:00
Jeremiah Orians 11c45ed475
make cc_reader.c respect M2LIBC_PATH 2022-01-23 21:25:16 -05:00
Jeremiah Orians ab43ff0e2d
Minimal -I support added 2022-01-23 12:18:46 -05:00
Jeremiah Orians ae5ae61461
Preserve __M2__ in output 2022-01-22 13:55:09 -05:00
Jeremiah Orians 781fdeee18
address segfault for M2-Planet build 2022-01-21 22:36:31 -05:00
Jeremiah Orians 5644a0c456
Starting to include debug info 2022-01-20 21:35:14 -05:00
Jeremiah Orians 477b517f26
Support for larger comments and keeping the tempfile around 2022-01-20 07:58:03 -05:00
Jeremiah Orians 5a81f6ae68
Make output more closely match input to enable easier audits 2021-12-26 07:42:54 -05:00
Jeremiah Orians eba382a014 Preserve whitespace in tokenizer.
This is needed to avoid confusing defines such as
#define A (1)
for macro functions.
2021-11-27 21:22:07 +00:00
Jeremiah Orians 5e54a3d312
Started stub for test1000 for self-hosting 2021-11-26 14:22:58 -05:00
Gabriel Wicki edd4bf6ec9 update options list in README and --help output 2021-11-23 22:57:01 +01:00
Jeremiah Orians 7d4c9dcabb
Don't dump binary data to stdout 2021-11-23 06:48:52 -05:00
Jeremiah Orians 295b323996
Enabling the disabling of embedding debug info in binaries 2021-11-23 06:06:42 -05:00
Jeremiah Orians 668c5b7c4c
Spawn functions 2021-11-23 05:58:45 -05:00
Jeremiah Orians 9de58d6d9c
Spawn is creating the processes correctly now 2021-11-22 21:41:11 -05:00
Jeremiah Orians 0284bc6ebc
almost working state 2021-11-22 19:53:12 -05:00
Jeremiah Orians d6d869f2c0
Added in basic path lookup 2021-11-21 18:30:20 -05:00
Jeremiah Orians 8d5d586d75
Make -E behavior possible and unique to enable spawning 2021-11-21 17:54:39 -05:00
Jeremiah Orians bb12da2fc9
Make environment setup be based on native architecture 2021-11-21 17:47:58 -05:00
Andrius Štikonas 70e402f582 Add updates to cc.c from M2-Planet. 2021-11-21 21:39:45 +00:00
Andrius Štikonas 9d4638237c Update cc_macro, cc_reader and port to M2libc. 2021-11-21 21:09:14 +00:00
Sanne Wouda 1ac5bb6eee
Initial import of functionality from M2-Planet 2021-01-10 09:34:10 -05:00