From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1397 invoked by alias); 8 Dec 2001 22:14:47 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 1375 invoked from network); 8 Dec 2001 22:14:45 -0000 Received: from unknown (HELO cc730106-b.taylor1.mi.home.com) (24.13.63.84) by sources.redhat.com with SMTP; 8 Dec 2001 22:14:45 -0000 Received: from localhost (jsturm@localhost) by cc730106-b.taylor1.mi.home.com (8.9.3/8.9.3) with ESMTP id RAA05538; Sat, 8 Dec 2001 17:14:32 -0500 X-Authentication-Warning: mars.deadcafe.org: jsturm owned process doing -bs Date: Sat, 08 Dec 2001 14:42:00 -0000 From: Jeff Sturm X-Sender: jsturm@mars.deadcafe.org To: Adam Megacz cc: gcc@gcc.gnu.org Subject: Re: mingw32 target broken [cygwin as well] In-Reply-To: <86d71qfdw3.fsf_-_@megacz.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00423.txt.bz2 On 8 Dec 2001, Adam Megacz wrote: > Side note: this seems to happen with target=i386-pc-mingw and > target=i386-pc-cygwin as well. For those just joining the thread, I'm > using a fresh cvs checkout from a few hours ago. I haven't had much trouble building a cross compiler for mingw/cygwin in the past. Note however that gcc needs to find the target headers in $prefix//include, so you'll want to copy these before configuring gcc. (The CrossGCC faq hints that newlib targets can be built in one pass however, so cygwin might be a little easier starting from a unified tree.) > -isystem /usr/mingw32/include This is where gcc is looking for stdio.h... > ../../src/gcc/config/i386/cygwin.h:31:19: stdio.h: No such file or directory ...which is included from here. Looks like /usr/mingw32/include/stdio.h doesn't exist on your build machine. Jeff