GMP-4.2.2 Compilation problem during ./configure

Torbjorn Granlund tg at
Fri Oct 19 18:23:55 CEST 2007

Gaelle MARSAL <gaelle.marsal at> writes:

  In Ubuntu 5.10 installed on a PentiumIII 900MHz and gcc 4.0
        Running configure :
  admin at alcasar4:~/appl/gmp-4.2.2$ sudo ./configure --host=none-unknow-linux --prefix=/usr/local --enable-cxx CC=gcc ABI=long
  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-linux-gnulibc1
  checking host system type... none-unknow-linux-gnu
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking for none-unknow-linux-strip... no
  checking for strip... strip
  checking whether to enable maintainer-specific portions of Makefiles... no
  checking ABI=long
  checking compiler gcc -O3 -DNO_ASM... no
  checking for none-unknow-linux-gcc... gcc
  checking for C compiler default output file name... configure: error: C compiler cannot create executables
  See `config.log' for more details.
No GMP bug.

You might want to read the error message, and if that is not clear,
check config.log.


More information about the gmp-bugs mailing list