From 94a412dcc875e0ab9704aa103da41cb0c9fe06b8 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Wed, 18 Sep 2024 13:51:38 +0000 Subject: [PATCH] docs: add FreeBSD in cross compilation section (#22249) --- doc/docs.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index f98c800683..40cbf2fb2a 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -7203,7 +7203,9 @@ to race conditions. There are several approaches to deal with these: ## Cross compilation -To cross compile your project simply run +Cross compilation is supported for Windows, Linux and FreeBSD. + +To cross compile your project simply run: ```shell v -os windows . @@ -7215,8 +7217,14 @@ or v -os linux . ``` +or + +```shell +v -os freebsd . +``` + > [!NOTE] -> Cross-compiling a windows binary on a linux machine requires the GNU C compiler for +> Cross-compiling a Windows binary on a Linux machine requires the GNU C compiler for > MinGW-w64 (targeting Win64) to first be installed. For Ubuntu/Debian based distributions: