makefile: move pdlibc to extlib, add C++ stub standard headers

It now kind of compiles with x86_64-elf gcc (does not link though)
This commit is contained in:
2021-11-04 20:15:58 +08:00
parent 964893b14a
commit 98f92a9958
48 changed files with 134 additions and 28 deletions

View File

@ -1,7 +1,7 @@
#include "stack.h"
#include "../runtime/stdio.h"
#include <memory.h>
#include <string.h>
void stack_InitBuffered(stack *s, void *buffer, uintptr_t size) {