remove -O force-C++, and also some inadvertently replicated code

This commit is contained in:
Vern Paxson 2021-05-05 19:11:17 -07:00
parent c116b2b8ad
commit 2b0f1c9d6e
5 changed files with 4 additions and 92 deletions

View file

@ -80,18 +80,11 @@ event handler pulled in by `target.zeek` replaced with its compiled version.
Instead of the last line above, you can use the following variants:
5. `./src/zeek -O force-use-C++ target.zeek`
Same as `use-C++`, but also
warns about any `target.zeek` functions that didn't have corresponding
compiled-to-C++ versions.
Or:
5. `./src/zeek -O report-C++ target.zeek`
For each function body in
`target.zeek`, reports which ones have compiled-to-C++ bodies available,
and also any compiled-to-C++ bodies present in the `zeek` binary that
`target.zeek` does not use.
`target.zeek` does not use. Useful for debugging.
The above workflows require the subsequent `zeek` execution to include
the `target.zeek` script. You can avoid this by replacing the first step with: