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

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

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


From: mxe coder
Subject: Re: [Mingw-cross-env-list] Help! Got a "configure: error: C compiler cannot create executables" when configure.
Date: Sun, 8 Jan 2017 01:48:34 +0100

Yes, I've added the absolute path of "mxe/usr/bin" to PATH by modify .bashrc file, and I've checked it by "export" command in terminal.
 
Sent: Saturday, January 07, 2017 at 11:38 PM
From: "Nagaev Boris" <address@hidden>
To: "mxe coder" <address@hidden>
Cc: "mingw-cross-en." <address@hidden>
Subject: Re: [Mingw-cross-env-list] Help! Got a "configure: error: C compiler cannot create executables" when configure.
On Sat, Jan 7, 2017 at 1:45 PM, mxe coder <address@hidden> wrote:
> 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!

Hey

Have you added mxe/usr/bin to PATH?

--
Best regards,
Boris Nagaev

reply via email to

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