StarmanX32
Member
I am back from the dead and I've made a project a month ago. This is a custom and open-source implementation of the C Standard Library for the PS3, keep in mind it's not finished yet. So far, I've implemented most of the string.h functions and a small amount of stdio functions.
I assume some people will argue that I shouldn't reinvent the wheel, we got some solutions already (vsh exports, eboot exports) or any different neutral to negative argument against the project. Yes, I'm indeed aware that we already got the VSH exports or EBOOT exports, but keep in mind that these either only work for a specific application (VSH) or are highly limited on their functionality (EBOOT), I could make use of the EBOOT exports tho, adding functions like malloc and free to the std libs. My version's goal is to be universally available for any type of PS3 project and to be fully open-source.
It's mostly based off musl C lib (without the extra GNU specific code) and a few PS3 specific implementations that I've found on some PS3 projects (SPRX Mod Menus, WebMAN MOD and other projects)
If anyone is interested in taking time to further develop the library, I'd greatly appreciate it.
It's being compiled as a static library (.a). and uses PPU GCC. Some developers might understandably ask, if the library wouldn't output linker errors (a known issue with Sony's C and C++ libs for sprx projects), to be extra safe, I've put an underscore before the function name on every function, the user headers (stdio.h, string.h, etc.) then mainly contain defines which remove the underscore, that's my plan.
I honestly wasn't able to test the library, I couldn't find much time to do all that stuff, life's stressing rn.
Here's the link.
https://github.com/PHTNCx64/plibc
I assume some people will argue that I shouldn't reinvent the wheel, we got some solutions already (vsh exports, eboot exports) or any different neutral to negative argument against the project. Yes, I'm indeed aware that we already got the VSH exports or EBOOT exports, but keep in mind that these either only work for a specific application (VSH) or are highly limited on their functionality (EBOOT), I could make use of the EBOOT exports tho, adding functions like malloc and free to the std libs. My version's goal is to be universally available for any type of PS3 project and to be fully open-source.
It's mostly based off musl C lib (without the extra GNU specific code) and a few PS3 specific implementations that I've found on some PS3 projects (SPRX Mod Menus, WebMAN MOD and other projects)
If anyone is interested in taking time to further develop the library, I'd greatly appreciate it.
It's being compiled as a static library (.a). and uses PPU GCC. Some developers might understandably ask, if the library wouldn't output linker errors (a known issue with Sony's C and C++ libs for sprx projects), to be extra safe, I've put an underscore before the function name on every function, the user headers (stdio.h, string.h, etc.) then mainly contain defines which remove the underscore, that's my plan.
I honestly wasn't able to test the library, I couldn't find much time to do all that stuff, life's stressing rn.
Here's the link.
https://github.com/PHTNCx64/plibc