Skip to content

Instantly share code, notes, and snippets.

@kcbanner
Created December 21, 2014 20:02
Show Gist options
  • Save kcbanner/a20560d143f4db6d70ec to your computer and use it in GitHub Desktop.
Save kcbanner/a20560d143f4db6d70ec to your computer and use it in GitHub Desktop.
Binutils:
mkdir binutils-objdir
cd binutils-objdir
CFLAGS="-Wno-error=deprecated-declarations -Wno-error=unused-variable -Wno-error=unused-function" ../binutils-2.24/configure --target=arm-agb-elf --program-prefix=arm-agb-elf-
make
make install
Installing GCC:
- Needed GCC 4.6.4
mkdir gcc-objdir
cd gcc-objdir
CFLAGS="-Wno-error=deprecated-declarations -Wno-error=unused-variable -Wno-error=unused-function" ../gcc-4.6.4/configure --target=arm-agb-elf --program-prefix=arm-agb-elf- --enable-languages=c --with-newlib --disable-libssp
make
make install
Compiling vbam
Disable GTK in CMakeLists.txt, comment out the block that checks for APPLE
and sets the SDLMAIN_LIBRARY to -lSDLmain.
@stephan-vandenheuvel
Copy link

when installing newlib use
--prefix=/usr/local/arm-agb-elf-newlib/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment