From owner-freebsd-questions@FreeBSD.ORG Mon Mar 5 16:43:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C7061065674 for ; Mon, 5 Mar 2012 16:43:37 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 96DC08FC20 for ; Mon, 5 Mar 2012 16:43:36 +0000 (UTC) Received: from kw.news4all.se (c80-217-70-175.bredband.comhem.se [80.217.70.175]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id q25GhYFr015155; Mon, 5 Mar 2012 17:43:34 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <4F54ED12.1090409@bananmonarki.se> Date: Mon, 05 Mar 2012 17:42:58 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: "Edward M." References: <4F547C59.1040604@bananmonarki.se> <4F548571.1050203@gmail.com> In-Reply-To: <4F548571.1050203@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: port to package amd64 to i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 16:43:37 -0000 2012-03-05 10:20, Edward M. skrev: > On 03/05/2012 12:42 AM, Bernt Hansson wrote: >> Build the port on amd64 and install it on i386 as a package. >> >> Is it possible? Pointers? Handholding? How-to? > > > http://filipenf.wordpress.com/2011/10/18/cross-compiling-for-x86-in-freebsd-64-bit/ Thank you for the pointer. I do find it a bit overkill to setup jails and such, just to build a few ports. I was thinking more along the line of; cd /usr/ports/"random port" make "it for i386 even if we are building it on amd64, ooh by the way build it as a package, and all dependencies as packages as well" Oh man, man ports. But I do not find the flag -build-for-another-system-cpu-whatever Can the ports system be (ab)used in that way?