From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 18 17:23:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90A091065670 for ; Mon, 18 Jun 2012 17:23:43 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id 5EC8B8FC18 for ; Mon, 18 Jun 2012 17:23:43 +0000 (UTC) Received: (qmail 14259 invoked by uid 0); 18 Jun 2012 17:23:26 -0000 Received: from 67.206.186.186 by rms-us006.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Mon, 18 Jun 2012 13:23:25 -0400 From: "Dieter BSD" Message-ID: <20120618172326.303450@gmx.com> MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: WQGtb+0X3zOlNR3dAHAhofN+IGRvbwDt Subject: Re: EFI development tools X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2012 17:23:43 -0000 > This is a known issue, and had been around for a long time. > You can't reliably build 32 bit binaries (what the -m32 flag specifies) > on a 64 bit system. The header files (and possibly other things) are wrong. People build 32 bit binaries on 64 bit systems all the time. It is called cross-compiling. I rather doubt that just setting the -m32 flag is sufficient to set up a proper cross-compiling environment.