Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2010 21:22:51 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@FreeBSD.org>
To:        Patrick Mahan <mahan@mahan.org>, freebsd-hackers@FreeBSD.org
Subject:   Re: Building FreeBSD on a linux FC11 box.
Message-ID:  <20100221202250.GF57731@acme.spoerlein.net>
In-Reply-To: <20100220210314.GB22800@kiwi.sharlinx.com>
References:  <4B800F60.60700@mahan.org> <20100220210314.GB22800@kiwi.sharlinx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100221202250.GF57731>