This topic is 4460 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello everyone! :-D A long time ago, I asked something similar here, and someone told me to get DevKit Pro instead... But I couldn't find any GBA tutorials for Pro, only for Nintendo DS... :-/ I've found this cool tutorial series: http://gbajunkie.co.uk/ And this one: http://www.suddenpresence.com/bbatutorial/ The second one seems easier, since it uses SGADE... Which one should I use? But anyways... How do I compile the DKA in Linux? It compiled, but I don't have the program cc1plus, and I couldn't find the Linux version... Anyone know where to get it? Thanks! ;-)

##### Share on other sites
I would say use DevKitArm, DevKitAdvance is REALLY old. You should be able to compile the GBA programs in the same way.
Also GBA tutorials which are more 'correct' then GBA junkies
Tonc
The Pern Project
GBA Dev.org

##### Share on other sites
Hmm... Can I integrate SGADE with devkitPRO (or devkitARM, they seem to be the same thing)? SGADE really seemed easy to use... Thanks! ;-)

##### Share on other sites
Don't see why not, SGADE just seems to be a library for GCC.

##### Share on other sites
Yay! :-D

http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207

##### Share on other sites
DevkitArm 18
Codeblocks 1.0RC2
And then go through the standard installs and setting up the compiler in Codeblocks and run a test project to check. The alternative is to use cygwin and make files instead.

##### Share on other sites
OH CRAP... I can't believe devkitPro installed w/o problems... :-|
However... when I try to run any of the GBA samples (tried mbv2 and xboo), VisualBoy Advance only gives me a white screen with like 250% usage in the title bar...
I get this output:

[kixdemp@localhost XbooLoad]\$ makeXbooLoad.carm-elf-gcc -MMD -MP -MF /home/kixdemp/gbaexamples/xboo/XbooLoad/build/XbooLoad.d -g -Wall -O3 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork  -I/home/kixdemp/progs/devkitpro/libgba/include -I/home/kixdemp/gbaexamples/xboo/XbooLoad/build -c /home/kixdemp/gbaexamples/xboo/XbooLoad/src/XbooLoad.c -o XbooLoad.olinking multibootbuilt ... XbooLoad_mb.gbaROM fixed!

:-( I only downloaded the main devkitARM program, and the libgba... (No SGADE yet) Did you face this same problem on Windows, or no? Do you know what it could be? I setted the environment variables and everything... I even copied the libgba files into the devkitARM folder... What should I try next? Thanks! ;-)

##### Share on other sites
Try changing the flag from -03 to -o

I rememeber a problem like this before but is been a while since I last programmed for it so I can't actually remember. Have you tried a non multiboot demo? Have you also checked the the emualtor works with a normal ROM? Also you may get more luck at gbadev.org forums and also more advice then I could ever give at this point.

##### Share on other sites
The -o thing didn't work... :-S
How do you make it non-multiboot?

Thanks very much for your help! ;-)

##### Share on other sites
you need to set the specs-file. this sets up various linker-settings for gba. use either -specs=gba.specs or -specs=gba_mb.specs to link normal or multiboot gba programs.

1. 1
2. 2
Rutin
21
3. 3
JoeJ
18
4. 4
5. 5
gaxio
12

• 14
• 40
• 23
• 13
• 13
• ### Forum Statistics

• Total Topics
631724
• Total Posts
3001897
×

## Important Information

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!