Sign inSign up

renefonseca/freebsd12

By renefonseca

•Updated over 6 years ago

FreeBSD 12 image with cross compiler based on Ubuntu 18.04

Image
2

4.0K

renefonseca/freebsd12 repository overview

⁠GCC Cross Compiler for FreeBSD

The GCC tool chain is installed in /freebsd.

The image is built from the configuration at https://github.com/rene-fonseca/docker-images/tree/master/freebsd⁠.

⁠Usage

If you use cmake you can build with a command like below:

mkdir build
cd build
cmake .. -DCMAKE_CXX_COMPILER=/freebsd/bin/x86_64-pc-freebsd12-g++ -DCMAKE_C_COMPILER=/freebsd/bin/x86_64-pc-freebsd12-gcc
cmake --build . --target install

Tag summary

Content type

Image

Digest

Size

419.6 MB

Last updated

over 6 years ago

docker pull renefonseca/freebsd12