decompals / old-gcc

Downloads, patches and builds old versions of GCC
19 stars 2 forks source link

GCC 3 series #26

Open AlessandroSangiuliano opened 4 weeks ago

AlessandroSangiuliano commented 4 weeks ago

Can you add gcc 3 series to this repos? I need them to build some old code and then porting it to modern compilers

Xeeynamo commented 3 weeks ago

Ciao. We're limiting the scope of this project to decompile and byte-match PlayStation games. What's your use case of GCC 3?

AlessandroSangiuliano commented 3 weeks ago

I need it because I found the OSF Mach, Mach kernel variant, the one used by apple for building XNU kernel. I have the original one from OSF, MIT licensed. It is the best Mach variant, with a lot of ipc improvement and they made it preemptable. The other Mach variants are jot preemptable. While with gcc 4.8 I can build it, during the boot phase it crashes for a stack corruption on a return value of a function, that is correct before the return and wrong after the return. It probably happens due of some code manipulated by gcc during the build time. Last update received by the code, before Apple took it, is 2000, so the gcc version should be gcc 3.