From 1a6a7478c298a362d63a2f412155c70b7f97671d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 28 Nov 2017 16:13:37 -0500 Subject: docs: use 'c++' to build on FreeBSD Building the executor via `gcc executor/executor_freebsd.cc ...` requires that a GCC package first be installed on the FreeBSD VM image. The FreeBSD base system comes with Clang already installed, so we can build via `c++ executor/executor_freebsd.cc ...` and avoid having to install additional packages. --- docs/freebsd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/freebsd.md b/docs/freebsd.md index e20c6f4b7..d15689ac5 100644 --- a/docs/freebsd.md +++ b/docs/freebsd.md @@ -8,7 +8,7 @@ make manager fuzzer execprog TARGETOS=freebsd ``` To build C `syz-executor` binary, copy `executor/*` files to a FreeBSD machine and build there with: ``` -gcc executor/executor_freebsd.cc -o syz-executor -O1 -lpthread -DGOOS=\"freebsd\" -DGIT_REVISION=\"CURRENT_GIT_REVISION\" +c++ executor/executor_freebsd.cc -o syz-executor -O1 -lpthread -DGOOS=\"freebsd\" -DGIT_REVISION=\"CURRENT_GIT_REVISION\" ``` Then, copy out the binary back to host into `bin/freebsd_amd64` dir. -- cgit mrf-deployment