hle@Gentoo ~/src/rxTools $ make rxinstaller.nds
make[1]: Entering directory '/home/hle/src/rxTools/rxinstaller'
arm-none-eabi-gcc -nostartfiles -nostdlib -Ttext=0 patches.S -o patches.elf
arm-none-eabi-objcopy -O binary patches.elf patches
mkdir include
xxd -i patches | sed -e "s/patches_len/fSIZE/g" -e "s/patches/rawData/g" -e "s/unsigned char/const unsigned char/g" > include/patches.h
/bin/sh: xxd: command not found
grit /home/hle/src/rxTools/rxinstaller/data/drunkenlogo.png -fts -odrunkenlogo
STATUS: ---grit v0.8.12 ---
STATUS: Individual runs.
STATUS: Input file /home/hle/src/rxTools/rxinstaller/data/drunkenlogo.png
STATUS: Output file: 'drunkenlogo'.
STATUS: Started run at: 2015-08-10, 17:52:21
STATUS: Validating gr.
WARNING: No explicit symbol name. In overwrite mode, so using dst title.
STATUS: Validation succeeded.
STATUS: Preparing data.
STATUS: Work-DIB creation.
WARNING: converting from 24 bpp to 16 bpp.
STATUS: converting to: 16bpp BGR, alpha=1.
STATUS: Work-DIB creation complete: 256x192@16.
STATUS: Graphics preparation.
STATUS: Compressing: 01
STATUS: Graphics preparation complete.
STATUS: Data preparation complete.
STATUS: Export to GNU asm: drunkenlogo into drunkenlogo.s .
STATUS: Run completed :).
STATUS: Done!
drunkenlogo.s
arm-none-eabi-gcc -MMD -MP -MF /home/hle/src/rxTools/rxinstaller/build/drunkenlogo.d -x assembler-with-cpp -g -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s -c drunkenlogo.s -o drunkenlogo.o
main.cpp
arm-none-eabi-g++ -MMD -MP -MF /home/hle/src/rxTools/rxinstaller/build/main.d -Wno-multichar -g -Wall -O3 -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s -iquote /home/hle/src/rxTools/rxinstaller/include -I/home/hle/.programs/devkitPro/libnds/include -I/home/hle/.programs/devkitPro/portlibs/nds/include -I/home/hle/.programs/devkitPro/portlibs/armv5te/include -I/home/hle/src/rxTools/rxinstaller/build -DARM9 -DCODE_PATH=\"rxTools/system/code.bin\" -fno-rtti -fno-exceptions -O3 -c /home/hle/src/rxTools/rxinstaller/source/main.cpp -o main.o
/home/hle/src/rxTools/rxinstaller/source/main.cpp: In function 'void aread(void*, size_t, size_t, int)':
/home/hle/src/rxTools/rxinstaller/source/main.cpp:98:14: error: 'rawData' was not declared in this scope
memcpy(ptr,&rawData[rawDataOffset],count);
^
/home/hle/src/rxTools/rxinstaller/source/main.cpp: In function 'int aeof(int)':
/home/hle/src/rxTools/rxinstaller/source/main.cpp:114:22: error: 'fSIZE' was not declared in this scope
if(rawDataOffset >= fSIZE)result=1;
^
/home/hle/src/rxTools/rxinstaller/source/main.cpp: In function 'char* agets(char*, int, int)':
/home/hle/src/rxTools/rxinstaller/source/main.cpp:125:14: error: 'rawData' was not declared in this scope
memcpy(str,&rawData[rawDataOffset],num);
^
/home/hle/.programs/devkitPro/devkitARM/base_rules:79: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
rm drunkenlogo.s
Makefile:176: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/hle/src/rxTools/rxinstaller'
Makefile:79: recipe for target 'rxinstaller.nds' failed
make: *** [rxinstaller.nds] Error 2