From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 18:13:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9903D62F for ; Mon, 4 Aug 2014 18:13:47 +0000 (UTC) Received: from remote.thehowies.com (50-197-91-217-static.hfc.comcastbusiness.net [50.197.91.217]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "remote.thehowies.com", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBF5325D4 for ; Mon, 4 Aug 2014 18:13:46 +0000 (UTC) Received: from PRIMARY.thehowies.local ([fe80::967:7eb6:ee49:3820]) by PRIMARY.thehowies.local ([fe80::967:7eb6:ee49:3820%11]) with mapi id 14.03.0174.001; Mon, 4 Aug 2014 11:12:36 -0700 From: John Howie To: Christopher Hilton , "freebsd-questions@freebsd.org" Subject: Re: Can FreeBSD-amd64 cross compile FreeBSD-i386? Thread-Topic: Can FreeBSD-amd64 cross compile FreeBSD-i386? Thread-Index: AQHPr//2YimzeaS360ycftQBQkOoTZvAvzuA Date: Mon, 4 Aug 2014 18:12:35 +0000 Message-ID: References: <2225EE36-E0A1-4EA8-B9DC-E662A15F51DC@vindaloo.com> In-Reply-To: <2225EE36-E0A1-4EA8-B9DC-E662A15F51DC@vindaloo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.3.140616 x-originating-ip: [192.168.1.25] Content-Type: text/plain; charset="us-ascii" Content-ID: <581B59F5E5B88D449CB085F1514E251B@thehowies.local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 18:13:47 -0000 Hi Chris, Are you talking about kernel and world, or ports? If kernel and world, check out README in /usr/src, and Makefile, too, for details how to use TARGET=3D on the command line (you can also set an environment variable), and MAKEOBJDIRPREFIX environment variable. There are plenty of blogs and web-sites that cover cross compilation of FreeBSD kernel and world, that you can refer to for pointers and examples. Regards, John On 8/4/14, 9:19 AM, "Christopher Hilton" wrote: >Can I cross compile FreeBSD i386 from source on a FreeBSD amd64 box? I >use poudriere to manage my package repository and would like to do the >same with NFS exported /usr/{src,obj} trees. > >-- Chris