From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 21 20:22:54 2010 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 52DB21065670 for ; Sun, 21 Feb 2010 20:22:54 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id E44D98FC19 for ; Sun, 21 Feb 2010 20:22:53 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id o1LKMqdP005934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Feb 2010 21:22:52 +0100 (CET) (envelope-from uqs@FreeBSD.org) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id o1LKMphd005933; Sun, 21 Feb 2010 21:22:51 +0100 (CET) (envelope-from uqs@FreeBSD.org) Date: Sun, 21 Feb 2010 21:22:51 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Patrick Mahan , freebsd-hackers@FreeBSD.org Message-ID: <20100221202250.GF57731@acme.spoerlein.net> Mail-Followup-To: Patrick Mahan , freebsd-hackers@freebsd.org References: <4B800F60.60700@mahan.org> <20100220210314.GB22800@kiwi.sharlinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100220210314.GB22800@kiwi.sharlinx.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: Building FreeBSD on a linux FC11 box. 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: Sun, 21 Feb 2010 20:22:54 -0000 On Sat, 20.02.2010 at 13:03:14 -0800, R. Tyler Ballance wrote: > On Sat, 20 Feb 2010, Patrick Mahan wrote: > > Hopefully, this is not too ignorant a question. But has anyone every > > built the FreeBSD sources, both kernel and apps, on a linux platform? > > > > I did a google on 'cross-compile freebsd (linux)' and found (mostly) > > discussions regarding building the linux apps for FreeBSD, but not > > for building a FreeBSD kernel and world. There was a brief discussion > > on the mailing list back in 2005, but the poster never reported if > > he had success or failure. Also, there were discussions about building > > freebsd amd64 on a freebsd i386. > > > > I have done lots of development in linux using cross-compilers (mips > > embedded systems, powerpc, etc). But not with FreeBSD. > > > > I know I'll need to use 'bsdmake' no gnu 'make'. The other worry is > > kernel-toolchain target. I guess I'll just dive in and swim around > > and see what happens. > > You might want to ask the Debian GNU/kFreeBSD guys: > http://www.debian.org/ports/kfreebsd-gnu/ > > I bet they've got a good idea :) They are using the kernel only, though. Before you reinvent the wheel, take a look at NetBSD, they are known for their cross-compilation work. Uli