FPGALoader

Simple multiplatform GUI for OpenFPGALoader, with auto-reprogramming support.

Single static file for Linux, Windows, macOS (Intel and M1/M2)

Compile from/to Mac (Intel)

Para compilar

go build && mv fpgaloader dist/x86_64-macos/

Cross Compile from Mac (Intel) to Mac (M1)

Instale o XCode para macOS

Para compilar

env GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build && mv fpgaloader dist/aarch64-macos/

Cross Compile from Mac (Intel) to Windows (x86_64)

Instale o MinGW (w64) para Mac

brew install mingw-w64

Para compilar

env GOOS=windows CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 go build && mv fpgaloader.exe dist/x86_64-windows/

Cross Compile from Mac (Intel) to Linux (x86_64)

Instale o Docker

Crie a imagem usando

docker build -t go .

Para compilar

docker run -v ${PWD}:/app --rm go && mv fpgaloader dist/x86_64-linux/