Skip to content

LogicalChaos/freebsd-cross-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-freebsd9-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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 73.2%
  • Dockerfile 26.8%