Closed nicoco59 closed 1 year ago
I am not sure if this would help, but the samples included with the SGDK have main like the following: int main(bool hard)
Where hard is type of reset and if it is false, some memory might not get initialized by default, if I understand correctly.
I got it to work again, I think that I was executing the command in the Terminal at the wrong place.
Thanks for your help.
Hi,
First thanks for your dev, I could compile at first thanks to it. Today I tried again after following a tutorial, and despite not having any error or just try to compile a basic template, it'll return this :
make GDK=~/Téléchargements/SGDK-1.80 -f ~/Téléchargements/SGDK-1.80/makefilewine.gen mkdir -p src/boot mkdir -p out /home/nicolas/Téléchargements/SGDK-1.80/bin/gcc -B/home/nicolas/Téléchargements/SGDK-1.80/bin -n -T /home/nicolas/Téléchargements/SGDK-1.80/md.ld -nostdlib out/sega.o @out/cmd /home/nicolas/Téléchargements/SGDK-1.80/lib/libmd.a /home/nicolas/Téléchargements/SGDK-1.80/lib/libgcc.a -o out/rom.out -Wl,--gc-sections C:\users\nicolas\Temp\ccSorTYf.ltrans2.ltrans.o: In function `_reset_entry':