From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12357 invoked by alias); 7 Aug 2014 19:59:55 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12346 invoked by uid 89); 7 Aug 2014 19:59:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_FAIL autolearn=no version=3.3.2 X-HELO: smtp3-g21.free.fr Received: from smtp3-g21.free.fr (HELO smtp3-g21.free.fr) (212.27.42.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 07 Aug 2014 19:59:52 +0000 Received: from darkstar (unknown [82.246.226.4]) by smtp3-g21.free.fr (Postfix) with ESMTP id 7EA58A623A for ; Thu, 7 Aug 2014 21:59:49 +0200 (CEST) Date: Thu, 07 Aug 2014 19:59:00 -0000 From: YuGiOhJCJ Mailing-List To: gcc-help@gcc.gnu.org Subject: w32api: configure: error: C compiler cannot create executables Message-Id: <20140807215948.2cf3fc8f03a40eb8c0e1c537@laposte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00055.txt.bz2 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.