Oncer
Member
I just installed the official SDK from GPH at my Linux box (Debian unstable). Almost everything went right, and I have now a fully functional gcc for cross-compiling arm.
Only this error makes me think:
(Sorry for the German, I'm using a localized version of Linux, I hope you can figure it out)
I always wanted to port MEGAZEUX (v2.81) to the GP2X, and this is where the actual problems start. I got all the libraries needed by the game, and I also have the source code. I modified the Makefiles to use the pre-built GP2X libraries instead of my i386 ones. But I can't compile C++ code!
So, how can I compile C++ code for the GP2X? Please, help me!
Only this error makes me think:
Code:
./buildgp2xtools.sh: line 259: arm-gp2x-linux-g++: command not found
Build : gcc
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
./buildgp2xtools.sh: line 266: arm-gp2x-linux-g++: command not found
Error : Failed building gcc
I always wanted to port MEGAZEUX (v2.81) to the GP2X, and this is where the actual problems start. I got all the libraries needed by the game, and I also have the source code. I modified the Makefiles to use the pre-built GP2X libraries instead of my i386 ones. But I can't compile C++ code!
Code:
cd contrib/libmodplug/src && make && cd ../../..
make[1]: Entering directory `/home/simon/Projekte/gp2x/mzx281c/contrib/libmodplug/src'
arm-gp2x-linux-gcc -O2 -Wall -Ilibmodplug -I. -c fastmix.cpp -o fastmix.o
arm-gp2x-linux-gcc: fastmix.cpp: C++ compiler not installed on this system
make[1]: *** [fastmix.o] Fehler 1
make[1]: Leaving directory `/home/simon/Projekte/gp2x/mzx281c/contrib/libmodplug/src'
make: *** [subdir] Fehler 2
So, how can I compile C++ code for the GP2X? Please, help me!