Skip to content

Releases: XRSec/xgo

Go CGO cross compiler( AliYun )

31 May 20:11
be77ca1
Compare
Choose a tag to compare

By: crazy-max/xgo

mirror: xrsec/xgo

Example:

# Makefile
build:
  @if [ ! -e "example-linux-amd64" ]; then xgo --targets=linux/amd64 -ldflags="-s -w -extldflags -static" ./example; fi

# bash
xgo --targets=darwin/amd64,darwin/arm64 -ldflags="-s -w -extldflags -static" ./example

Go CGO cross compiler( AliYun )

14 Aug 00:31
d13e06f
Compare
Choose a tag to compare

By: crazy-max/xgo

mirror: xrsec/xgo

Example:

# Makefile
build:
  @if [ ! -e "example-linux-amd64" ]; then xgo --targets=linux/amd64 -ldflags="-s -w -extldflags -static" ./example; fi

# bash
xgo --targets=darwin/amd64,darwin/arm64 -ldflags="-s -w -extldflags -static" ./example

Go CGO cross compiler( AliYun )

30 Jul 18:26
d13e06f
Compare
Choose a tag to compare