Date: Thu, 1 Mar 2012 12:31:17 -0500 From: Glen Barber <gjb@FreeBSD.org> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: current@freebsd.org Subject: Re: how to cross-build a single application ? Message-ID: <20120301173117.GC1873@glenbarber.us> In-Reply-To: <20120301173819.GA31913@onelab2.iet.unipi.it> References: <20120301173819.GA31913@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 01, 2012 at 06:38:19PM +0100, Luigi Rizzo wrote: > What is the way to properly cross-build a single program > (after having gone throught the 'toolchain' and possibly > even a full 'buildworld') > from the top-level directory of a FreeBSD source tree ? > > right now i do something like > > cd $SOURCE_ROOT > make MAKEOBJDIRPREFIX=/my_obj_tree TARGET=amd64 buildworld > > but i seem to remember that there is a more efficient way > when you want to rebuild only one program or one subtree. > I think i have seen this question being answered from time to time > but i can't find how now. > > any hints ? > There is this link from the wiki, which shows how to build/install/run emulators/wine on amd64: http://wiki.freebsd.org/Wine#Wine_on_FreeBSD.2BAC8-amd64 If there's an even more efficient way to do it, I'd love if it were documented somewhere. Glen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120301173117.GC1873>