From owner-freebsd-ports@FreeBSD.ORG Wed Nov 12 10:52:10 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A2F516A4CE for ; Wed, 12 Nov 2003 10:52:10 -0800 (PST) Received: from ms-smtp-03-eri0.socal.rr.com (ms-smtp-03-qfe0.socal.rr.com [66.75.162.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7784543FE5 for ; Wed, 12 Nov 2003 10:52:07 -0800 (PST) (envelope-from sean@mcneil.com) Received: from blue.mcneil.com (cpe-66-75-176-109.socal.rr.com [66.75.176.109])hACIq59S023797 for ; Wed, 12 Nov 2003 10:52:05 -0800 (PST) Received: from [66.75.176.109] (mcneil.com [66.75.176.109]) by blue.mcneil.com (8.12.10/8.12.9) with ESMTP id hACIq5jT012339 for ; Wed, 12 Nov 2003 10:52:05 -0800 (PST) (envelope-from sean@mcneil.com) From: Sean McNeil To: ports@FreeBSD.org Content-Type: text/plain Organization: Sean McNeil Consulting Message-Id: <1068663124.92792.3.camel@blue.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 12 Nov 2003 10:52:05 -0800 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: mingw-gcc port configure problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 18:52:10 -0000 Hi all, There is a problem with the way the mingw compiler is configuring. It is picking up configuration for the native environment when building the cross components. Specifically, the CPUTYPE will get passed on which can end up being bogus. I have in my /etc/make.conf the statement CPUTYPE?=k7 This ends up adding -mcpu=athelon which in turn gets passed on to the cross. It should only be used for the native side. Cheers, Sean