diff options
-rw-r--r-- | INSTALL.md | 6 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/INSTALL.md b/INSTALL.md index 7f69a8948..5882a6e45 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,10 +1,8 @@ # Linux -Install [**devkitARM**](http://devkitpro.org/wiki/Getting_Started/devkitARM) or compile [**GNU Binutils**](https://www.gnu.org/software/binutils/) with target "arm-none-eabi". - -Either way, make sure that there is an environment variable called DEVKITARM with the path of the directory before the "bin" directory containing "arm-none-eabi-as", "arm-none-eabi-ld" and "arm-none-eabi-objcopy". +Install [**devkitARM**](http://devkitpro.org/wiki/Getting_Started/devkitARM). -For example, if you install binutils at "/usr/local", make DEVKITARM equal "/usr/local". +Make sure that there is an environment variable called DEVKITARM with the path of the directory before the "bin" directory containing "arm-none-eabi-as", "arm-none-eabi-cpp", "arm-none-eabi-ld" and "arm-none-eabi-objcopy". Then get the compiler from https://github.com/YamaArashi/agbcc and run the following commands. @@ -4,7 +4,7 @@ ASFLAGS := -mcpu=arm7tdmi CC1 := tools/agbcc/bin/agbcc CFLAGS := -mthumb-interwork -O2 -CPP := cpp +CPP := $(DEVKITARM)/bin/arm-none-eabi-cpp CPPFLAGS := -I tools/agbcc/include -iquote include -nostdinc -undef LD := $(DEVKITARM)/bin/arm-none-eabi-ld |