|
|
|
|
|
by vdupras
532 days ago
|
|
It can't compile unmodified C code targeting POSIX. That's by design. Allowing this would import way too much complexity in the project. But it does implement a fair chunk of C itself. The idea is to minimize the magnitude of the porting effort and make it mechanical. For example, the driver the the DWC USB controller (the controller on the raspberry pi) comes from plan 9. There was a fair amount of porting to do, but it was mostly to remove the unnecessary hooks. The code itself, where the real logic happens, stays pretty much the same and can be compiled just fine by Dusk's C compiler. |
|