How to build the OpenOCD binaries?
The GNU MCU Eclipse OpenOCD build scripts provide a single tool to create multi-platform binaries, generating the Windows 32, Windows 64, GNU/Linux 32, GNU/Linux 64 and macOS distribution packages.
The script was developed on macOS, but it also runs on any recent GNU/Linux distribution.
How to build?
For the final authoritative details, please refer to the separate openocd-build project.