Created
December 21, 2014 20:02
-
-
Save kcbanner/a20560d143f4db6d70ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when installing newlib use
--prefix=/usr/local/arm-agb-elf-newlib/