On Tue, Mar 19, 2019 at 2:04 AM Eric Joyner <e...@freebsd.org> wrote:

> On Sun, Mar 17, 2019 at 6:35 AM Hans Petter Selasky <h...@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.
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to