mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
support building on NetBSD
This commit is contained in:
11
README.md
11
README.md
@@ -113,6 +113,17 @@ Assuming an existing HomeBrew installation:
|
||||
% brew install boost cmake gcc libpcap pkg-config ragel sqlite
|
||||
```
|
||||
|
||||
### NetBSD
|
||||
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:
|
||||
export CC="/usr/pkg/gcc12/bin/cc"
|
||||
export CXX="/usr/pkg/gcc12/bin/g++"
|
||||
export CXXFLAGS="-gdwarf-4"
|
||||
|
||||
Then continue with the build as below.
|
||||
|
||||
|
||||
## Configure & build
|
||||
|
||||
In order to configure with `cmake` first create and cd into a build directory:
|
||||
|
||||
Reference in New Issue
Block a user