gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Help using Velvetfr's GCC tools

#20361 - slile - Sat May 08, 2004 10:00 pm

Hi,

I'm new to the GBA development scene, and was previously pointed to the Velvetfr gcc tools as an option for development on the Mac.

To test out the tools, I grabbed the complete source from the tutorial at http://www.webbesen.dk/gba/default.asp so that I could test the compiler and make sure I could at least compile a working program.

Running the straight compiler files (replacing gcc with arm-elf-gcc/bin/arm-elf-gcc, since it appeared that no compiling was needed) I received compile errors regarding assembly directives (didn't recognize instructions, or .globl, etc. A specific example is pong.c:80701:Invalid mnemonic 'mvn').

What do I need to set up in order to get started compiling GBA programs on OS X? I understand I need to get the ctrl0 file from another source, but I was told that was in the linker step, and this is during the compile to object code.

Thanks for any help.