public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* w32api: configure: error: C compiler cannot create executables
@ 2014-08-07 19:59 YuGiOhJCJ Mailing-List
  2014-08-07 20:05 ` Jonathan Wakely
  2014-08-07 21:07 ` Kai Ruottu
  0 siblings, 2 replies; 6+ messages in thread
From: YuGiOhJCJ Mailing-List @ 2014-08-07 19:59 UTC (permalink / raw)
  To: gcc-help

Hello,

I am building a cross compiler (linux 32 bits -> windows 32 bits).
I have compiled and installed:
- binutils-2.24.51
- gcc-4.9.1 (with mingwrt-4.0.3.1 and w32api-4.0.3.1 headers)

But when I try to configure the w32api library, I got an error:
$ ./configure --prefix=/usr/i686-pc-mingw32 --build=`./config.guess` --host=i686-pc-mingw32 --disable-nls
bash: ./config.guess: No such file or directory
configure: WARNING: unrecognized options: --disable-nls
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-gnu
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for i686-pc-mingw32-gcc... i686-pc-mingw32-gcc
checking whether the C compiler works... no
configure: error: in `/tmp/build/w32api-4.0.3-1.mingw32-src':
configure: error: C compiler cannot create executables
See `config.log' for more details

As you can see, there is a missing "config.guess" file in the archive.
Also, the "--disable-nls" option is not available.
Maybe it can explain why the C compiler is recognize by the configure script as not working.

Do you have any idea why I am unable to compile this w32api please?

Thank you.
Best regards.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-07 23:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 19:59 w32api: configure: error: C compiler cannot create executables YuGiOhJCJ Mailing-List
2014-08-07 20:05 ` Jonathan Wakely
2014-08-07 21:06   ` YuGiOhJCJ Mailing-List
2014-08-07 22:07     ` Jonathan Wakely
2014-08-07 23:38       ` YuGiOhJCJ Mailing-List
2014-08-07 21:07 ` Kai Ruottu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).