DCPUTeam / DCPUToolchain

[ARCHIVED] The code repository for the DCPU-16 Toolchain.
http://dcputoolcha.in/
MIT License
96 stars 14 forks source link

"Can not generate a locals stack map.." for calling into stubsys. #173

Closed hach-que closed 11 years ago

hach-que commented 11 years ago

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.

patflick commented 11 years ago

guess this is resolved, with you fixinig it @hach-que ?

hach-que commented 11 years ago

This is fixed.