Code: Select all
... /examples/Graphics/3D/Misc/Toon_Shading$ make
main.cpp
arm-eabi-g++ -MMD -MP -MF /home/sabaal/Dev/DS/examples/Graphics/3D/Misc/Toon_Shading/build/main.d -g -Wall -O2 -mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/sabaal/Dev/DS/examples/Graphics/3D/Misc/Toon_Shading/include -I/usr/local/devkitPro/libnds/include -I/usr/local/devkitPro/libnds/include -I/home/sabaal/Dev/DS/examples/Graphics/3D/Misc/Toon_Shading/build -DARM9 -fno-rtti -fno-exceptions -c /home/sabaal/Dev/DS/examples/Graphics/3D/Misc/Toon_Shading/source/main.cpp -o main.o
as: unrecognized option `-mcpu=arm9tdmi'
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
Code: Select all
# note: arm9tdmi isn't the correct CPU arch, but anything newer and LD
# *insists* it has a FPU or VFP, and it won't take no for an answer!
CFLAGS := -g -Wall -O2\
-mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer\
-ffast-math \
$(ARCH)
I'm using Ubuntu Linux 8.04, but I've had the same problem on earlier releases. I've got several people working on other areas of development, all waiting for me to get the code off the ground, but I can't even compile the example code. Can anyone help me understand and fix this problem, or does anyone know where I can find a manual of some kind for these programs?