bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

in case of error, the conftest.c code should be given


From: Vincent Lefevre
Subject: in case of error, the conftest.c code should be given
Date: Tue, 15 Dec 2015 09:26:51 +0100
User-agent: Mutt/1.5.24-6522-vl-r83103 (2015-10-20)

The configure script for MPFR was generated by GNU Autoconf 2.69.
When I do "./configure CC=tcc", I get the following error in
config.log:

[...]
configure:3933: checking for gcc
configure:3933: result: tcc
configure:4142: checking for C compiler version
configure:4164: tcc --version >&5
tcc: error: invalid option -- '--version'
configure:4164: $? = 1
configure:4164: tcc -v >&5
tcc version 0.9.26 (x86-64 Linux)
configure:4164: $? = 0
configure:4164: tcc -V >&5
tcc: error: invalid option -- '-V'
configure:4164: $? = 1
configure:4164: tcc -qversion >&5
tcc: error: invalid option -- '-qversion'
configure:4164: $? = 1
configure:4183: checking whether the C compiler works
configure:4244: tcc    conftest.c  >&5
configure:4244: $? = 0
configure:4258: result: yes
configure:4260: checking for C compiler default output file name
configure:4262: result: a.out
configure:4268: checking for suffix of executables
configure:4298: tcc -o conftest    conftest.c  >&5
configure:4298: $? = 0
configure:4301: result: 
configure:4323: checking whether we are cross compiling
configure:4359: tcc -o conftest    conftest.c  >&5
configure:4359: $? = 0
configure:4359: ./conftest
Segmentation fault (core dumped)
configure:4359: $? = 139
configure:4359: error: in `/home/vlefevre/software/mpfr':
configure:4359: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

then variables and confdefs.h, but no conftest.c code.
The conftest.c file is no longer there.

So, it's impossible to know what's wrong.

-- 
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]