当前位置:网站首页>【记录】golang跨平台编译
【记录】golang跨平台编译
2022-07-23 06:27:00 【dnice】
Mac-m1
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o enic-mac-arm64 ./cmd/main.go
Mac-intel
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o enic-mac-amd64 ./cmd/main.go
Linux-amd64
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o enic-linux-amd64 ./cmd/main.go
Linux-arm64
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o enic-linux-arm64 ./cmd/main.go
Windows
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o enic-win-amd64.exe ./cmd/main.go
边栏推荐
猜你喜欢

PHP framework MVC class code audit

Space shooting Part 2-3: dealing with the collision between bullets and the enemy
![[visual scheduling software] Shanghai daoning brings netronic downloads, trials and tutorials to SMB organizations](/img/2f/ea0d6ceefca84ef4aeef9c384861f9.png)
[visual scheduling software] Shanghai daoning brings netronic downloads, trials and tutorials to SMB organizations

Target segmentation for 10000 frames of video, with less than 1.4GB of video memory | eccv2022

The current situation of the industry is disappointing. After working, I returned to UC Berkeley to study for a doctoral degree

【日常训练】814. 二叉树剪枝

MySQL - composite query external connection

MySQL的索引事务&&JDBC编程

What happens when you enter the web address and the web page is displayed

Machine learning: Li Hang - statistical learning method (II) perceptron + code implementation (primitive + dual form)
随机推荐
【 Visual Dispatching Software】 Shanghai Dow Ning apporte netronic download, Trial, tutoriel pour l'Organisation SMB
机器学习,吴恩达逻辑回归
Talk about study and work -- Qian Xuesen
动态规划每日一练(1)
Beifu PLC and C transmit int type variables through ads communication
谈谈学习和工作——钱学森
Jupyter notebook add existing virtual environment
射击 第 1-3 课:图像精灵
Numpy: element selection of matrix
-XX:+UseCGroupMemoryLimitForHeap 无法创建虚拟机问题
Software testing jobs saturated? Automated testing is a new generation of 'offer' skills
Knowledge map: basic concepts
倍福PLC--C#ADS通信以通知的方式读取变量
倍福PLC和C#通过ADS通信传输bool类型变量
Machine learning, Wu Enda, logical regression
Why does the GOM engine version automatically drop the line or flash back?
给1万帧视频做目标分割,显存占用还不到1.4GB | ECCV2022
Beifu PLC and C # regularly refresh IO through ads communication
转行软件测试有学历要求吗?低于大专是真的没出路吗?
CAN控制器的位同步过程