All required dependencies for compilation are already packaged as part of the Go project. It is recommended to use a modern version of the Go toolchain and no longer store the code repository in the old GOPATH.
git clone "https://github.com/deflinhec/rfslog" rfslog
cd rfslog
Build from source.
go build -trimpath -mod=vendor
๐ Cross-Platform Build
The build process uses the GNU make toolchain to ensure consistent build processes across different platforms.
Build for diffirent platform.
make cross-compile-linux-amd64
make cross-compile-linux-arm64
make cross-compile-darwin-arm64
make cross-compile-darwin-amd64
make cross-compile-windows-amd64
๐ Command-Line Options
Option
Description
--version
Display versio information.
configfile
Export a template configuration file in the working directory.