Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 12:46:15 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        "mayuresh@kathe.in" <mayuresh@kathe.in>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Possible to compile tree on a different OS?
Message-ID:  <CAPyFy2DGpCAEw1Y-ybEi8P=VRN0kd1kHk5bF9mJ6zq7zHpnp+w@mail.gmail.com>
In-Reply-To: <2054-5ee85580-1d-6ecc0b80@214142625>
References:  <2054-5ee85580-1d-6ecc0b80@214142625>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 16 Jun 2020 at 01:27, mayuresh@kathe.in <mayuresh@kathe.in> wrote:
>
> The NetBSD folks have mechanisms in place to allow compiling (including c=
ross-compiling) their entire (or partial) source tree under a different ope=
rating system. Eg. I can download and compile the NetBSD source tree under =
a Ubuntu system using GNU build tools.
>
> Does FreeBSD have such facilities in place too?

Unfortunately we don't have anything "out of the box" for building on
non-FreeBSD hosts yet, but there is significant work in progress to
make it possible. The CHERI research project at Cambridge has build
infrastructure for all of the components they're using (modified
research versions of QEMU, Clang/LLVM, and FreeBSD) that builds on
FreeBSD 10+, Ubuntu 16.04+, OpenSUSE, and macOS.

You can find more information about that work here:
https://github.com/CTSRD-CHERI/cheribuild
https://wiki.freebsd.org/BuildingOnNonFreeBSD



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAPyFy2DGpCAEw1Y-ybEi8P=VRN0kd1kHk5bF9mJ6zq7zHpnp+w>