bwoodsend / freebsd-cross-build

(Cross) Compile FreeBSD binaries on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

freebsd-cross-build

This creates a container that can be used to build FreeBSD binaries natively on Linux

To build:

./build

(this finishes by running 'docker build -t freebsd-cross-build .')

To run:

docker run --rm -it freebsd-cross-build

There is /freebsd/bin on the path. It has all of the build tools (e.g. x86_64-pc-freebsd11-gcc)

It is likely you would add a -v switch to the run (to put your code on a mount).

About

(Cross) Compile FreeBSD binaries on Linux

License:Apache License 2.0


Languages

Language:Shell 72.1%Language:Dockerfile 27.9%