diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-18 19:16:08 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-18 19:16:08 +0200 |
commit | 1a741c1c0168e8b2383a62100709c625a5a8961f (patch) | |
tree | 9b62cecba87e6ba8725cb1cadbb6d505d2880399 /miniany/REQUIREMENTS | |
parent | 6c6fe33b224dc3342d8d8fc5fc2d27777eb55b89 (diff) | |
download | compilertests-1a741c1c0168e8b2383a62100709c625a5a8961f.tar.gz compilertests-1a741c1c0168e8b2383a62100709c625a5a8961f.tar.bz2 |
another test with c4 and a minic compiler
Diffstat (limited to 'miniany/REQUIREMENTS')
-rw-r--r-- | miniany/REQUIREMENTS | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/miniany/REQUIREMENTS b/miniany/REQUIREMENTS new file mode 100644 index 0000000..0352078 --- /dev/null +++ b/miniany/REQUIREMENTS @@ -0,0 +1,31 @@ +implementing: + +- userland + - argument passing to main function (argc, argv) +- libc + - print_char + - requires a 3 parameter syscall to 80h (Linux) + - requires + - inline assembly + +not implementing: +- libc + - printf + - format string only, as replacement for puts + - vararg required in compiler + - puts + - requires stdout, which is a FILE structure + - print_char + - requires a 3 parameter syscall to 80h (Linux) + - requires + - either inline assembly + - linker and calling convention +- preprocessor + - have a cat building up the required modules instead + - needs file operations (at least open, close, read) + - needs a file system on the host and the destination + (alternative: have a tape-like file system) +- linker + - have compilation units needs a linker do build + an executable + |