Skip to content
Discussion options

You must be logged in to vote
Admin verified this answer by andev0x Jun 23, 2026

Go Binary Compilation: Use go build with cross-platform support. Ensure the Makefile supports multiple platforms:

build:
    GOOS=linux GOARCH=amd64 go build -o bin/capytrace-linux ./cmd/capytrace
    GOOS=windows GOARCH=amd64 go build -o bin/capytrace-windows.exe ./cmd/capytrace
    GOOS=darwin GOARCH=amd64 go build -o bin/capytrace-macos ./cmd/capytrace

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer verified by Admin Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants