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:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Cr dASIf0jqxOHcq9q8If3ZRdETjAi4kgWQjXFAnPZyq7bA4hiDJdrdeIHJV5aaDrWc jxvxDSQHNfbl5C58vP0PTdWC55IDuYPeRACJLeUJ+sLR+fsrHTtmtJtvlf29IdyC Pf4wroHLaw3XEr/z3ApONQwBz8OkguQKUiK3vrmLc= 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:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=nNPG8UEB tan49LtSq1+rF040sZY=; b=BtYRlULRfcaMzlvUTMWAPJbza67+Y3KMbCUYMIGn tnXcJnEqmJ3F5X+oC0zvEOodGLoY3NQuFkHK2WVRoLK7+znpJMO2JMBQa4cbaqne KRboIgS4EOUJ7vS3+8hMQaAfO6gdAy3NhW5/CCBsLHvXtfEwxjJugnU1V9HqenoS cEI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f175.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=C1lzqOtsIHXLcDivHm86SRlGkt+dgjdicQQ6+NcYDRc=; b=QoMrVu6fMdbssbwd6lXHtqKl6f0kBKGV2jM8ZWZKhBc0av5H6UPprppbQKPW09nzCx 0ArsUhTwDcyV6lExCCGWKu96AsZLVup4nIh0uWYU0EwcU+JynWL575IiLR5oH4XlE5O8 RwGeAlQao3Zk4y2UBQdA8UErb3GNYPwOfOWNZ+/d909gJKD/cmgwA6sJUZkyHXe6aUz8 XNVYRQLj9TB0/Sh3ozVc1oTtmBQnV/J2SgVTSrZ+raddBsQfMg5u1T3uxnmCPfqa3qV3 VYR+OTMKHKTY2yMSArDTwaSkCQWorSwJ9w+kf2L/gCVZ9DKoeK1tkeT3rBnzx5bcpTzn xdgA== X-Gm-Message-State: ALoCoQmuRRMBb4JafoUiStd5G9oO2iTyi6uSM48SzPGoEXeqERxdZ1l5TdKlzS97YcFjJY5SRJtL MIME-Version: 1.0 X-Received: by 10.170.62.133 with SMTP id e127mr1573646yke.81.1443595562370; Tue, 29 Sep 2015 23:46:02 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Sep 2015 23:46:02 -0700 Message-ID: Subject: Re: Building cross toolchain on cygwin from source From: Michael Enright To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Tue, Sep 29, 2015 at 10:06 PM, Hari Narasimhan H.N wrote: > > I am using a crosstool-NG system. During configuration of GMP it > throws the following error > > "could not find a working compiler" > > whereas I have gcc4.9.3 installed and working. You should be able to tell from config.log what GMP's configure tried to use as the compiler. GCC is capable of being compiled with an old compiler and that applies equally to creating a native compiler or a cross compiler. My best guess is that this problem is not a Cygwin problem. I have had that same error message from configure scripts run under Linux, attempting to cross-compile various open-source libraries, and it comes down to some over-looked detail in the configure arguments that impact how the script finds the compiler to use. Possibly a good question for Stack Overflow. -- 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