Updating PSYQ Compiler and Linker?
Posted: December 17th, 2019, 5:42 am
Heyho :3
I was wondering if there is a way to update the PSYQ Compiler and Linker with a modern version of GCC, so I looked a bit into this but.... to me it seems like this is not possible.
I tried basicly the most obvious thing you can do, building a GCC compiler supporting MIPS. This took me way longer then I could be proud about it. But when I was done with it, I compiled a simple PSYQ programm and tried linking it with psylink. Well, the linker rejected the object files because of them having a wrong format, probably because they were in .elf format and not ecoff. I then read that, GCC does not support that format anymore.
It didn't took me long until I encountered some other PSX SDKs that seemed to be working with GCC and the elf format, but they all required patching the executable, also they lacked full support of what PSYQ can do.
To sum it up:
If I want to use a modern compiler, I have no way of using PSYQ and the documents for it anymore, right?
If I want to use PSYQ I have to stick with the old compiler and linker, right?
I was wondering if there is a way to update the PSYQ Compiler and Linker with a modern version of GCC, so I looked a bit into this but.... to me it seems like this is not possible.
I tried basicly the most obvious thing you can do, building a GCC compiler supporting MIPS. This took me way longer then I could be proud about it. But when I was done with it, I compiled a simple PSYQ programm and tried linking it with psylink. Well, the linker rejected the object files because of them having a wrong format, probably because they were in .elf format and not ecoff. I then read that, GCC does not support that format anymore.
It didn't took me long until I encountered some other PSX SDKs that seemed to be working with GCC and the elf format, but they all required patching the executable, also they lacked full support of what PSYQ can do.
To sum it up:
If I want to use a modern compiler, I have no way of using PSYQ and the documents for it anymore, right?
If I want to use PSYQ I have to stick with the old compiler and linker, right?