@Garcia#3676 - 2021-06-09 01:02
Also I came across ~crj00686 (japanese user) a while ago, file: psxgccw32.tgz which is:
/cygnus/lib/gcc-lib/psx/cygnus-2.7.2-961023/specs
gcc version cygnus-2.7.2-961023
I thought I would try it again, it needs updated headers and library files... and it workes!
It even compiles RS ADVENT with SW floats, that works with yarexe! 🙂
It has C++ exe's but not the libs (complains about libstdc++.a), I tried some lib copy and pasting and renaming... but the best I got is to compile XENO but not link it:
g++ -Xlinker -Map -Xlinker mapfile -Xlinker -Ttext -Xlinker 80100000 main.o _exit.o gs_object.o gs_vector.o gs_rect.o gs_point.o gs_collisionlist.o gs_random.o gs_image.o gs_tiledimage.o gs_sprite.o gs_screen.o gs_starfield.o actorinfo.o actor.o scene.o -o xenon
> relocation truncated to fit: JMPADDR __rtti_si
> undefined reference to `__rtti_user'
> relocation truncated to fit: JMPADDR __rtti_user
> undefined reference to `__rtti_si'
>
> /cygnus/lib/gcc-lib/psx/cygnus-2.7.2-961023/../../../../psx/bin/ld: bfd assertion fail coff-mips.c:1253