Compiling on PSP
Compiling on PSP
Hi!
Is it possible to port an existing compiler to run on the PSP ?
If so, could you point me in the right direction on where to start...?
Is it possible to port an existing compiler to run on the PSP ?
If so, could you point me in the right direction on where to start...?
Bye, B.
It is theoretical possible. But nobody ever did it since it is too much work and nobody needs it.
Code: Select all
int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
}
Re: Compiling on PSP
Turbo C in DOSBox. That's about it.
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
@all thanks for super quick reply !
@ jojojoris
by "theoretical possible" do you mean it is actually possible to take, lets
say an existing compiler source code, modify it a little, and then compile it
to EBOOT.PBP ;
Or do you mean to rewrite a compiler from scratch ? ( that of course
would be too much work...)
@sauron_le_noir
I am flirting with the idea of a PSPDev IDE on the PSP... why you ask?
It seems natural to me ,that apps for PSP should be created on the PSP.
@ jojojoris
by "theoretical possible" do you mean it is actually possible to take, lets
say an existing compiler source code, modify it a little, and then compile it
to EBOOT.PBP ;
Or do you mean to rewrite a compiler from scratch ? ( that of course
would be too much work...)
@sauron_le_noir
I am flirting with the idea of a PSPDev IDE on the PSP... why you ask?
It seems natural to me ,that apps for PSP should be created on the PSP.
Bye, B.
We are pro's we know that.Bugabinga wrote:@ J.F.
how do you know that for sure?
I guess when you are not even able to think of a way to monitor the RAM usage while programming you also are not able to port a compiler or even create something.
Code: Select all
int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
}
Well, then teach me.
If I monitor the RAM usage of a program on my ,let's say, intel cpu windows machine, will the RAM usage be the same ,if I run the same prog but targetet for another cpu?
Maybe a workaround to this problem could be to delegate compiling to a webserver, but then the PSPDev IDE would be only half as portable...
If I monitor the RAM usage of a program on my ,let's say, intel cpu windows machine, will the RAM usage be the same ,if I run the same prog but targetet for another cpu?
Maybe a workaround to this problem could be to delegate compiling to a webserver, but then the PSPDev IDE would be only half as portable...
Bye, B.
I get a different vibe. It's unnatural. The cons outweigh the pros in a case like this:It seems natural to me ,that apps for PSP should be created on the PSP.
The PSP's processor is inherently slower than my PC's dual core x86 CPU. It also lacks a sizable cache. I would cringe if I had to compile my project's current 1.3 MB of raw code as often as I do on the PSP itself.
It's unnatural to program the code for the PSP on a PC and then send it to the PSP's memory stick to be recognized by a compiler.
I suppose a GUI could be involved to help make selecting a project to compile easier, and maybe even changing the compiler's CFLAGS. It still doesn't seem as natural as a keyboard.
The PSP's memory stick access times are unspeakably slow when compared to those of my PC's RAID array.
Ever compiled gcc for a Pentium Pro or something even older? It's not fun.