From: G.E. Date: Wed, 6 Mar 2024 11:31:35 +0000 (+0100) Subject: updated readme to reflect FreeBSD build X-Git-Tag: vectorscan/5.4.12^2~68^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05c891146bc68df35c45b374af9e0fab797fe81;p=thirdparty%2Fvectorscan.git updated readme to reflect FreeBSD build --- diff --git a/README.md b/README.md index cf2e5f40..67124678 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Assuming an existing HomeBrew installation: % brew install boost cmake gcc libpcap pkg-config ragel sqlite ``` -### NetBSD +### *BSD In NetBSD you will almost certainly need to have a newer compiler installed. Using the example of gcc12 from pkgsrc, one will need to set three environment variables before starting: @@ -121,6 +121,12 @@ export CC="/usr/pkg/gcc12/bin/cc" export CXX="/usr/pkg/gcc12/bin/g++" export CXXFLAGS="-gdwarf-4" +In FreeBSD similarly, using gcc12 from pkg +export CC=/usr/local/bin/gcc +export CXX=/usr/local/bin/g++ +export CXXFLAGS="-gdwarf-4" + + Then continue with the build as below.