Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 05:43:42 +0200
From:      Damjan Jovanovic <damjan.jov@gmail.com>
To:        Eric Joyner <erj@freebsd.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Building freebsd on another OS
Message-ID:  <CAJm2B-kd3Y0apJELNJjCvtk3Fby8_UQCpSBsHdwvLLtWfuCHCg@mail.gmail.com>
In-Reply-To: <CA%2Bb0zg9xQudJkE9VsCxHt6r=qPi8AbQpH%2BE925DkXt6vhThg-g@mail.gmail.com>
References:  <8BA3B71BA1BE4249A17369318459EC144F16ADB3@DAG.uvawise.edu> <9c1cf7c9-e2f1-ba2d-b6e8-c4b691b24c61@selasky.org> <CA%2Bb0zg9xQudJkE9VsCxHt6r=qPi8AbQpH%2BE925DkXt6vhThg-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 19, 2019 at 2:04 AM Eric Joyner <erj@freebsd.org> wrote:

> On Sun, Mar 17, 2019 at 6:35 AM Hans Petter Selasky <hps@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.



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