delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/01/07:50:46

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; q=dns; s=default; b=OZF
rRP+GY2/RNCXfr2DoPb214V71X3l9q5McasRUPZt8ZFG96OvaGfZaCNBGx71xYnC
1N+JPIdE4cEe9shrg/bfrop0BnnIIUQaAF9esRnk0hwvO2iU6xJn0dIsXsfaLnfe
g4X+I3AasgmNTNBmdz646cjHKl7S+xXcwrIHbq08=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; s=default; bh=VydAgbPhn
kiBq9D0bORAs5XhV3Y=; b=MsJqtvjzPfQVT3H8fQZJI60/vrEeXxMB0l8ndhe0v
EuH1hr0vueM1z1/uWWWajn9Ju7tKm2Zfxt0uXCiHYx8M4C8S4o58EoHbW1eWDugE
xWZmDZ0+ZJmzlVP0GlBSdEZUFs+XJgIOez0JqfXSYV/U/YbWW25NiM2JuJQAPHYC
Ic=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qk0-f178.google.com
MIME-Version: 1.0
X-Received: by 10.55.50.74 with SMTP id y71mr17200310qky.52.1441108220168; Tue, 01 Sep 2015 04:50:20 -0700 (PDT)
Date: Tue, 1 Sep 2015 17:20:20 +0530
Message-ID: <CAKuw2ErZw1LLQqoTDWgO723F2+i4BMYx1krR8zh7BCu=e3iB9A@mail.gmail.com>
Subject: Error while building GMP on cygwin "configure: error: could not find a working compiler"
From: "Hari Narasimhan H.N" <hari DOT narasimhanhn AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t81BogCw012143

Hi,

I got the following error in configuring GMP while building a bare
metal GNU cross toolchain for Xtensa on cygwin

configure: error: could not find a working compiler, see config.log for details

The build was performed using a crosstool-NG downloaded from the site
http://wiki.linux-xtensa.org/index.php/Crosstool-NG using the git
clone git clone https://github.com/foss-xtensa/crosstool-NG.git

This downloads GMP-5.1.1 while downloading GCC and related packages.

1. Build environment - cygwin

2. The GMP version number - GMP-5.1.1

3. Output of gcc -v

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3
--prefix=/usr --exec-prefix=/usr --localstatedir=/var
--sysconfdir=/etc --docdir=/usr/share/doc/gcc
--htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin
--host=i686-pc-cygwin --target=i686-pc-cygwin
--without-libiconv-prefix --without-libintl-prefix
--libexecdir=/usr/lib --enable-shared --enable-shared-libgcc
--enable-static --enable-version-specific-runtime-libs
--enable-bootstrap --enable-__cxa_atexit --with-dwarf2
--with-arch=i686 --with-tune=generic --disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++
--enable-graphite --enable-threads=posix --enable-libatomic
--enable-libgomp --disable-libitm --enable-libquadmath
--enable-libquadmath-support --enable-libssp --enable-libada
--enable-libjava --enable-libgcj-sublibs --disable-java-awt
--disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld
--with-gnu-as --with-cloog-include=/usr/include/cloog-isl
--without-libiconv-prefix --without-libintl-prefix --with-system-zlib
--enable-linker-build-id
Thread model: posix
gcc version 4.9.3 (GCC)


4. The output from running ‘uname -a’.

$ uname -a
CYGWIN_NT-6.1 si-hnhari 2.1.0(0.287/5/3) 2015-07-14 21:26 i686 Cygwin

The output of config.log and build.log is attached.

Please let me know if you need any more information.

Thanks and Regards,
Hari

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019