#177203 - asrockw7 - Mon Jan 23, 2012 1:16 pm
I have my own mingw gcc and I initially tried compiling the loirak beginners program hoping to see if it runs. It does compile, but it does not run.
I tried changing directory to the bin folder of devkitadv and using the gcc there but it needs cygwin dependencies, which I don't have when it should. So I ditched that. Compiling with mingw was first sort of unintentional as mingw is also in my PATH as devkitadv, but since devkitadv needs cygwin then I ditched it.
When ran on VisualBoyAdvance, it just has white screen on. Tried getting a random ROM to see if it works in the first place and it does.
used:
gcc -0 file.elf file.c -lm
objcopy -O binary file.elf file.gba
For cutting corners I also tried using the .o file(which I take is the same binary) from C::B then changing the extension. Still doesn't work.
Basically my problem is why won't it work and also can I use mingw, since the devkitadv needs cygwin which I don't have.
I tried changing directory to the bin folder of devkitadv and using the gcc there but it needs cygwin dependencies, which I don't have when it should. So I ditched that. Compiling with mingw was first sort of unintentional as mingw is also in my PATH as devkitadv, but since devkitadv needs cygwin then I ditched it.
When ran on VisualBoyAdvance, it just has white screen on. Tried getting a random ROM to see if it works in the first place and it does.
used:
gcc -0 file.elf file.c -lm
objcopy -O binary file.elf file.gba
For cutting corners I also tried using the .o file(which I take is the same binary) from C::B then changing the extension. Still doesn't work.
Basically my problem is why won't it work and also can I use mingw, since the devkitadv needs cygwin which I don't have.