gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Ubuntu (6.10) and devkitpro issues?

#134516 - jimmy - Fri Jul 13, 2007 3:04 pm

Trying to build the examples included with devkitPro, I get the errors such as
/bin/sh: arm-eabi-as: not found

Environment variables are set correctly:

export DEVKITPRO=$HOME/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM

And I tried adding bin to the path aswell:
export PATH=$PATH:$DEVKITARM/bin


Still, the same error. Any ideas?


Here is the complete output when trying to make the hello_world example located in /Graphics/2D

arm-eabi-g++ -MMD -MP -MF /home/jimmy/project/examples/Graphics/2D/hello_world/build/main.d -g -Wall -O2 -mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/home/jimmy/project/examples/Graphics/2D/hello_world/include -I/home/jimmy/project/examples/Graphics/2D/hello_world/build -I/home/jimmy/devkitpro/libnds/include -I/home/jimmy/devkitpro/libnds/include -I/home/jimmy/project/examples/Graphics/2D/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /home/jimmy/project/examples/Graphics/2D/hello_world/source/main.cpp -o main.o
make[1]: arm-eabi-g++: Command not found
make[1]: *** [main.o] Error 127
make: *** [build] Error 2

#134547 - jimmy - Fri Jul 13, 2007 9:20 pm

I was using Ubuntu 64-bit, so of course it didn't work. I switched to Ubuntu 32-bit and everything works fine.

#134760 - thedopefish - Mon Jul 16, 2007 1:42 pm

I've used it on 64-bit Ubuntu just fine. Maybe you need to apt-get install libc6-i386 ?
_________________
#include <sig.h>