From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9751 invoked by alias); 14 Jan 2008 21:13:13 -0000 Received: (qmail 9741 invoked by uid 22791); 14 Jan 2008 21:13:12 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Jan 2008 21:12:53 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0ELCji3032174; Mon, 14 Jan 2008 16:12:45 -0500 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [10.11.254.111]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0ELCjBD004682; Mon, 14 Jan 2008 16:12:45 -0500 Received: from greed.delorie.com (vpn-14-8.rdu.redhat.com [10.11.14.8]) by post-office.corp.redhat.com (8.13.8/8.13.8) with ESMTP id m0ELCiBV004206; Mon, 14 Jan 2008 16:12:45 -0500 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.8/8.13.8) with ESMTP id m0ELChE5007698; Mon, 14 Jan 2008 16:12:43 -0500 Received: (from dj@localhost) by greed.delorie.com (8.13.8/8.13.8/Submit) id m0ELCgA2007612; Mon, 14 Jan 2008 16:12:42 -0500 Date: Mon, 14 Jan 2008 21:13:00 -0000 Message-Id: <200801142112.m0ELCgA2007612@greed.delorie.com> From: DJ Delorie To: eliz@gnu.org CC: gdb@sourceware.org In-reply-to: (message from Eli Zaretskii on Mon, 14 Jan 2008 22:39:05 +0200) Subject: Re: GDB/Mingw make problem References: <478A8022.18277.6CAB521@gerritvn.gpvno.co.za>, <478A9781.31068.7269E5D@gerritvn.gpvno.co.za>, <478BAD00.17461.D7D9DF@gerritvn.gpvno.co.za> <478B9F0D.8080605@st.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00103.txt.bz2 > ?? I'd expect --target=djgpp do that automatically (it's a > cross-compilation, right?) It's the difference between a cygwin-x-djgpp cross compiler and a mingw-x-djgpp cross compiler. If --host is mingw, you're actually doing a canadian (although configure doesn't realize it, so it's not the traditional build/host/target canadian), so you need to ensure that CC is set right. Otherwise, in the example given, you're trying to build cygwin programs using mingw headers, or something like that. Subtle bugs ensue.