From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32645 invoked by alias); 1 May 2003 20:36:21 -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 30579 invoked from network); 1 May 2003 20:34:41 -0000 Received: from unknown (HELO mwinf0302.wanadoo.fr) (193.252.22.28) by sources.redhat.com with SMTP; 1 May 2003 20:34:41 -0000 Received: from ANice-103-1-3-244.abo.wanadoo.fr (ANice-103-1-3-244.abo.wanadoo.fr [80.11.189.244]) by mwinf0302.wanadoo.fr (SMTP Server) with ESMTP id 71676C000279; Thu, 1 May 2003 22:34:40 +0200 (CEST) Subject: Re: building a cross compiler From: erwan ancel To: Pieter Thysebaert Cc: gcc-help@gcc.gnu.org In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-15 Organization: Message-Id: <1051821289.12143.5.camel@brisedorient> Mime-Version: 1.0 Date: Thu, 01 May 2003 20:36:00 -0000 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-05/txt/msg00010.txt.bz2 Yes. You're right, I want to build it for MinGW :) Any way, I managed to compile it: just by adding the MinGW libraries in $PREFIX/i386-mingw32/library Thanks. Erwan Le jeu 01/05/2003 à 20:56, Pieter Thysebaert a écrit : > 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 > >