Building Swiss using WSL

Discuss one of the most feature filled GameCube applications here :)
Post Reply
Homebruv
Posts: 3
Joined: Tue Feb 08, 2022 12:48 pm

Building Swiss using WSL

Post by Homebruv » Tue Feb 08, 2022 1:06 pm

Hello everyone,
I was wondering if anyone has used WSL to build Swiss (from source). I have installed (the latest) devkitpro in my WSL environment as well as the fork of libogc and I can build (and run) the example code. However, when building Swiss, the linker gives me an error. I think it has something to do with the custom linker script. The linker does generate a DOL, but it's far too small and doesn't run. Below the output from the makefile:

linking ... swiss.elf
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000080003124
/opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/11.2.0/../../../../powerpc-eabi/bin/ld: /home/<username>/downloads/swiss-gc-master/cube/swiss/swiss.elf: warning: allocated section `.data' not in segment
output ... swiss.dol
Post Reply