From owner-freebsd-embedded@FreeBSD.ORG Thu Dec 1 16:19:37 2011 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE63106564A; Thu, 1 Dec 2011 16:19:37 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 983B38FC0C; Thu, 1 Dec 2011 16:19:37 +0000 (UTC) Received: from 150.imp.bsdimp.com (150.imp.bsdimp.com [10.0.0.150] (may be forged)) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id pB1GCj0S091048 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 1 Dec 2011 09:12:46 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 1 Dec 2011 09:12:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3B91BA0A-F5E8-4C57-8F09-0583B375C6D9@bsdimp.com> References: <4ED6FD47.6050704@bluezbox.com> <96407605-79A9-4AE3-AC2F-13BD97943153@lassitu.de> <447CC818-CEA3-46B9-A15F-E0FA737B0EB4@bluezbox.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Thu, 01 Dec 2011 09:12:46 -0700 (MST) Cc: freebsd-embedded@FreeBSD.org Subject: Re: Ports cross-compilation X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 16:19:38 -0000 On Dec 1, 2011, at 1:15 AM, Adrian Chadd wrote: > .. hm. thinking about it, why not have a port variable flag that marks > a port as "cross compiles" ? >=20 > Then we could (in theory) do a cross-compile test run based on which > ports in the ports tree have this variable set? In the doodle I did years ago, I had a CROSS_BUILD_FLAVOR =3D {trivial, = gnuconf, custom} and had that drive some of the infrastructure. This = didn't make it into the final hack we used at symmetricom, however. = Some of that can be inferred from other variables, but we didn't bother = to try to build stuff we didn't need and that might not be working. Warner