I'm not sure what's going on with the C compiler here r4d2. It seems the standard library isn't able to call the main() or _stubapi_exit() functions from stdlib_enter() inside stubapi.c. The stdlib_enter() function is now being called instead of main so that the process will correctly call exit() in the kernel rather than looping forever (like the old _halt assembly did).
If you could look into what needs to be changed and how to get this finalized, that'd be great as it means we'd pretty much be able to merge stubsys in.
I'm not sure what's going on with the C compiler here r4d2. It seems the standard library isn't able to call the main() or _stubapi_exit() functions from stdlib_enter() inside stubapi.c. The stdlib_enter() function is now being called instead of main so that the process will correctly call exit() in the kernel rather than looping forever (like the old _halt assembly did).
If you could look into what needs to be changed and how to get this finalized, that'd be great as it means we'd pretty much be able to merge stubsys in.