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.

C/C++ > configure script

#12844 - evil saltine - Fri Nov 28, 2003 7:14 pm

I have devkit-advance installed and /devkitadv/bin:/devkitadv/include:/devkitadv/lib added to the path (in cygwin). I want to build gmp (bignum library) for gba, but configure fails... I tested the compiler arm-agb-elf-gcc and it works, but.. err.. this happens:

$ ./configure --disable-shared --host=arm-agb-elf
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... arm-agb-elf
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether arm-agb-elf-gcc is gcc... yes
checking compiler arm-agb-elf-gcc -g -O2 -fomit-frame-pointer ... no
configure: error: could not find a working compiler

I can't find the failed program, it isn't in config.log and there's no error message. I would really appreciate it if someone knew how to fix this.. thanks.