Skip to content

Cross Compile GoAuth2

Ken Williamson edited this page Jan 18, 2020 · 12 revisions

Cross Compiling GoAuth2

Command: env GOOS=target-OS GOARCH=target-architecture go build -o main *.go

GOOS - Target Operating System

android darwin darwin darwin darwin dragonfly freebsd freebsd freebsd linux linux linux linux linux linux linux linux linux linux netbsd netbsd netbsd openbsd openbsd openbsd plan9 plan9 solaris windows