GMP-4.2.2 Compilation problem during ./configure

Torbjorn Granlund tege at swox.com
Sat Oct 20 22:12:44 CEST 2007


Tim Van Holder <tim.vanholder at anubex.com> writes:

  > 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.*
  
  If this still happens without --host, ensure that the gcc on the path is
  actually a valid, working compiler. config.log will tell you more.

Please read the error message from configure!  There is no need to
create a thread with speculation on what might be wrong, since there
is no doubt about it.

The reporter's compiler cannot compile anything.

If you doubt my conclusion, check his config.log to see the fairly
simple C program that his compiler cannot compile.  In comparison, the
famous hello.c is complex.

Whether cross compiling is detected or not is irrelevant.  If the
compiler "cannot create executables", nobody will be very successful
with compiling GMP with it.

-- 
Torbjörn


More information about the gmp-bugs mailing list