Andrius Štikonas
|
791cec1343
|
Add support for spawning in UEFI.
|
2022-12-26 17:04:28 +00:00 |
Jeremiah Orians
|
7f3a0d4cd8
|
Support -D flags
|
2022-09-26 12:50:09 -04:00 |
Jeremiah Orians
|
2af8507661
|
Add support for #warning
|
2022-09-15 20:19:57 -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
|
38893c95bd
|
Merge branch 'main' of github.com:oriansj/M2-Mesoplanet
|
2022-01-24 21:41:44 -05:00 |
Jeremiah Orians
|
b76123326e
|
A much less wasteful envp setup
|
2022-01-24 21:39:43 -05:00 |
Andrius Štikonas
|
d75b5556d2
|
Fix WORDSIZE for riscv32.
|
2022-01-25 00:19:34 +00:00 |
Jeremiah Orians
|
f4caad6ea6
|
Merge branch 'main' of github.com:oriansj/M2-Mesoplanet
|
2022-01-24 18:46:08 -05:00 |
Jeremiah Orians
|
abdbf4cf3a
|
Even more debug info for waitpid
|
2022-01-24 18:45:13 -05:00 |
Andrius Štikonas
|
7eb1ceb168
|
Add support for riscv32.
|
2022-01-24 22:47:28 +00:00 |
Jeremiah Orians
|
11c45ed475
|
make cc_reader.c respect M2LIBC_PATH
|
2022-01-23 21:25:16 -05:00 |
Jeremiah Orians
|
f16fcccb44
|
Provide more advanced waitpid status analysis
|
2022-01-23 13:10:08 -05:00 |
Jeremiah Orians
|
ab43ff0e2d
|
Minimal -I support added
|
2022-01-23 12:18:46 -05:00 |
Jeremiah Orians
|
5a706e6478
|
provide meaningful details on crashes and on terminated processes
|
2022-01-22 17:42:08 -05:00 |
Jeremiah Orians
|
e4ca1f3518
|
Produce a meaningful error message if unable to spawn essential binaries
|
2022-01-22 16:31:38 -05:00 |
Jeremiah Orians
|
ae5ae61461
|
Preserve __M2__ in output
|
2022-01-22 13:55:09 -05:00 |
Jeremiah Orians
|
a6397e7eb7
|
ensure #define statements don't propagate comments as well
|
2022-01-22 11:45:01 -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
|
533aeb1dfa
|
nested #if blocks now behave correctly
|
2022-01-20 07:38:01 -05:00 |
Jeremiah Orians
|
2043782a45
|
now M2-Mesoplanet compiles hello world for x86 correctly
|
2022-01-05 07:13:24 -05:00 |
Jeremiah Orians
|
48857058eb
|
Fix minor issue involving #define -1 inside of an #if block
|
2021-12-26 07:57:00 -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
|
b34a2528c8
|
Basic #include functionality imported
|
2021-12-25 09:06:57 -05:00 |
Andrius Štikonas
|
3d1fd538a6
|
Add a test for macro functions.
|
2021-11-27 22:14:11 +00:00 |
Andrius Štikonas
|
30629320b7
|
Deal with whitespace tokens in define statements.
|
2021-11-27 21:25:38 +00: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 |
Andrius Štikonas
|
d577e56fb9
|
Insert expansions of macro functions.
|
2021-11-27 17:52:11 +00:00 |
Andrius Štikonas
|
04906fd5b0
|
Match macro argument names with their expansions.
|
2021-11-27 17:52:11 +00:00 |
Andrius Štikonas
|
2ee908ec82
|
Read argument names of function-like #defines
|
2021-11-27 17:52:11 +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
|
892a40aa1a
|
Update M2libc and clear out some unneeded globals
|
2021-11-22 06:07:44 -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 |
Jeremiah Orians
|
a0ac86f679
|
Minimal #define test
|
2021-11-21 17:20:32 -05:00 |
Jeremiah Orians
|
16948fbd9c
|
Minimal sanity test
|
2021-11-21 17:16:42 -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 |