mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] Help! Got a "configure: error: C compiler cannot


From: mxe coder
Subject: [Mingw-cross-env-list] Help! Got a "configure: error: C compiler cannot create executables" when configure.
Date: Sat, 7 Jan 2017 14:45:03 +0100

Hello everyone,
I've got errors as following when I tried to compile a open-source project with "./configure --prefix=/home/release --host=i686-w64-mingw32.static --build=i686":
 
checking for i686-w64-mingw32.static-gcc... i686-w64-mingw32.static-gcc
checking whether the C compiler works... no
configure: error: in `/home/libgo-3.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
 
Here's the config.log:
 
configure:3229: error: in `/home/libgo-3.1':
configure:3231: error: C compiler cannot create executables
 
Here's codes near line 3231 in configure file:
 
if test -z "$ac_file"; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "C compiler cannot create executables
See \`config.log' for more details" "$LINENO" 5; }
else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
fi
 
Can someone help, please!

reply via email to

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