From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9242 invoked by alias); 1 May 2003 20:42:43 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 29849 invoked from network); 1 May 2003 18:56:02 -0000 Received: from unknown (HELO plinius.intec2.rug.ac.be) (157.193.122.4) by sources.redhat.com with SMTP; 1 May 2003 18:56:02 -0000 Received: from localhost (localhost [127.0.0.1]) by plinius.intec2.rug.ac.be (Postfix) with ESMTP id EA469BD41; Thu, 1 May 2003 20:56:03 +0200 (CEST) Received: by plinius.intec2.rug.ac.be (Postfix, from userid 1022) id CE8ECBD3F; Thu, 1 May 2003 20:56:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by plinius.intec2.rug.ac.be (Postfix) with ESMTP id ACAECFC24; Thu, 1 May 2003 20:56:00 +0200 (CEST) Date: Thu, 01 May 2003 20:42:00 -0000 From: Pieter Thysebaert X-X-Sender: pthyseba@plinius.intec2.rug.ac.be To: erwan ancel Cc: gcc-help@gcc.gnu.org Subject: Re: building a cross compiler In-Reply-To: <1051729148.3290.6.camel@brisedorient> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020222 X-SW-Source: 2003-05/txt/msg00011.txt.bz2 On 30 Apr 2003, erwan ancel wrote: > Hi, > > I am trying to build the gcc 3.2.3 under linux for Windows Cygwin > target. > my configure parameters are: > ./configure -v --prefix=/usr/cross-compile --target=i386-mingw32 > --with-gnu-as --with-gnu-ld --disable-multilib > > when typing make, the xgcc is built, but I got the error: > checking whether the C compiler (/home/awa/toto/gcc-3.2.3/gcc/xgcc > -B/home/awa/toto/gcc-3.2.3/gcc/ -B/usr/cross-compile/i386-mingw32/bin/ > -B/usr/cross-compile/i386-mingw32/lib/ -isystem > /usr/cross-compile/i386-mingw32/include -O2 -g -O2 ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > make: *** [configure-target-libiberty] Erreur 1 check the last lines of config.log, it will include the error as reported by the compiler when attempting to compile a test program. Have you built cross-binutils AND put them (or rather, the name of the directory containing them) in your PATH variable? BTW you're configuring for mingw, not cygwin . Pieter