Re: Building freebsd on another OS

From: Damjan Jovanovic <damjan.jov_at_gmail.com>
Date: Tue, 19 Mar 2019 05:43:42 +0200
On Tue, Mar 19, 2019 at 2:04 AM Eric Joyner <erj_at_freebsd.org> wrote:

> On Sun, Mar 17, 2019 at 6:35 AM Hans Petter Selasky <hps_at_selasky.org>
> wrote:
>
> >
> > See the freebsd-build utils package for Linux.
> >
> > --HPS
> >
> >
> Is there anything for Windows?
>
>
>
FreeBSD uses ELF binaries.
Microsoft's compilers only generate PE binaries.
Cygwin also generates PE binaries, optionally linked to its libraries.
Mingw and mingw-w64, same story.

You need some sort of cross-compiler that generates ELF binaries.
That new "Windows Subsystem for Linux" (WSL) found on Windows 10 might be a
good starting point, as it uses ELF binaries natively, and its C compiler
(GCC?) presumably generates ELF.
Received on Tue Mar 19 2019 - 02:44:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC