Building FreeBSD on a linux FC11 box.

Ulrich Spörlein uqs at FreeBSD.org
Sun Feb 21 20:22:54 UTC 2010


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


More information about the freebsd-hackers mailing list