Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get Sigil to work #31

Open
tevey opened this issue Feb 4, 2022 · 3 comments
Open

Can't get Sigil to work #31

tevey opened this issue Feb 4, 2022 · 3 comments

Comments

@tevey
Copy link

tevey commented Feb 4, 2022

Hi,
I'm trying to build a gba Sigil version using the build instructions in the repo.
When using the Ultimate doom wad and the regular sigil wad, the build finished the rom works but the sigil episode is not in the menu.
Then i tried using the Ultimeate doom wad but this time with the sigil_compat wad wich is supposed to replace episode 3 witch sigil but this won't even build it gives the following error:

linking cartridge

lto1.exe: out of memory allocating 536875007 bytes
lto-wrapper.exe: fatal error: C:\devkitPro\devkitARM\bin\arm-none-eabi-g++.exe returned 1 exit status
compilation terminated.
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make[1]: *** [C:/devkitPro/devkitARM/gba_rules:25: /opt/devkitpro/Projects/GBADoom/GBADoom.elf] Error 1
make: *** [Makefile:132: build] Error 2

Am i missing something or is Sigil just a no go on gba?

@doomhack
Copy link
Owner

doomhack commented Feb 7, 2022

Just tried it and I got the same output.

It will work if you remove -flto from CFLAGS in the makefile.

@doomhack
Copy link
Owner

doomhack commented Feb 7, 2022

You want to use the Sigil compat wad.

@doomhack
Copy link
Owner

doomhack commented Feb 7, 2022

You'll need plenty of RAM too. I saw lto1.exe use over 10gb of ram during compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants