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.

Beginners > devkitadv under linux

#7219 - camel69 - Thu Jun 12, 2003 1:38 pm

i'm looking for some good tutorials on how to install the devkit under linux
most of the tutorials and faq's i've found were written for windows users and i'm still getting errors on running the gcc command included in the devkit
_________________
camel69

#7234 - bitshifter - Thu Jun 12, 2003 4:59 pm

Hey, I had that problem as well, until I found this link:

http://www.stalemeat.net/gbadevkit.html

Follow it exactly, and you should be fine! Just remove all your old Linux DevKitAdvance stuff.

#7284 - camel69 - Fri Jun 13, 2003 7:15 pm

first of all: thanks for the link :)

i've downloaded the files and started the install.sh script but after half an hour of compiling an error occured:

Code:
../../../../gcc-3.0.2/libstdc++-v3/libmath/signbit.c:31:18: math.h: No such file or directory
In file included from ../../../../gcc-3.0.2/libstdc++-v3/libmath/signbit.c:32:
../../../../gcc-3.0.2/libstdc++-v3/libmath/mathconf.h:125:5: #error "We need HUGE_VAL!"
make[2]: *** [signbit.lo] Fehler 1
make[2]: Leaving directory `/usr/local/share/gcc-build/arm-thumb-elf/libstdc++-v3/libmath'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/share/gcc-build/arm-thumb-elf/libstdc++-v3'
make: *** [install-target-libstdc++-v3] Fehler 2


do i need an additional library?
i've no idea how to fix this error... :(
_________________
camel69

#8775 - arthur - Sat Jul 19, 2003 3:23 pm

I've just tried compiling that version of gcc/bintools/newlib too and I get that same error about needing a HUGE_VAL

I'm compiling with a redhat9 setup, gcc version 3.2.2.

I wonder if it's worth trying to compile a version of arm-agb-elf-gcc the same as the compiler I'm compiling with...

Arthur