custom prx and newlib

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
raf
Posts: 57
Joined: Thu Oct 13, 2005 7:38 am

custom prx and newlib

Post by raf »

Hi!
I'm in the process of converting the different user interfaces for PSPRadio into prx's; or at least, that's what I'm trying to do...
I was able to get a prx to work following the sample code, and using pspsdk's libc instead of newlib.
(I had to include an implementation to _sbrk() myself; as I believe it was moved out of libc along with libglue, breaking malloc).
The thing is that most of the code needs newlib for STL and SDL.
Is there a way to create a module that will work with newlib instead of libc? If not, why? Is there anything I can do to help??

Thanks!

Raf.
raf
Posts: 57
Joined: Thu Oct 13, 2005 7:38 am

Re: custom prx and newlib

Post by raf »

raf wrote:Hi!
I'm in the process of converting the different user interfaces for PSPRadio into prx's; or at least, that's what I'm trying to do...
I was able to get a prx to work following the sample code, and using pspsdk's libc instead of newlib.
(I had to include an implementation to _sbrk() myself; as I believe it was moved out of libc along with libglue, breaking malloc).
The thing is that most of the code I need to convert uses newlib for STL and SDL.
Is there a way to create a module that will work with newlib instead of libc? If not, why? Is there anything I can do to help??

Thanks!

Raf.
No ideas?

I had to stop working on the PRXs as I just couldn't figure out how to get them to work with newlib.. :(

(Hopefully someone will enlighten me :) )

Raf.
Post Reply