当前位置:网站首页>[record] golang cross platform compilation
[record] golang cross platform compilation
2022-07-23 13:39: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
边栏推荐
- Beifu PLC and C transmit bool type variables through ads communication
- Don't be silly to distinguish these kinds of storage volumes of kubernetes
- Beifu PLC -- C ads communication reads variables in the form of notification
- Beifu PLC and C transmit int array type variables through ads communication
- 太空射击 Part 1: 玩家精灵和控制
- 在虚拟环境下使用pip时默认使用系统环境的pip该怎么办
- Shell运算符、$((运算式))” 或 “$[运算式]、expr方法、条件判断、test condition、[ condition ]、两个整数之间比较、按照文件权限进行判断、按照文件类型进行判断
- “算力猛兽”浪潮NF5468A5 GPU服务器开放试用免费申请
- GOM引擎版本为什么玩家会自动掉线或闪退?
- 【PART 2】OAK-D+TurtleBot3机器人项目全解析
猜你喜欢

vs2019:constexpr 函数“qCountLeadingZeroBits”不能生成常量表达式

Bit synchronization process of CAN controller

MySQL index transaction & JDBC programming

C#做一个简单浏览器

决策树详解

Beifu PLC and C transmit structure type variables through ads communication

Special lecture 5 combinatorial mathematics learning experience (long-term update)

Matplotlib- implement common probability distributions

Machine learning, Wu Enda, logical regression

The current situation of the industry is disappointing. After working, I returned to UC Berkeley to study for a doctoral degree
随机推荐
keepalived双机热备
Bit synchronization process of CAN controller
了解canvas
使用fastjson解析以及赋予json数据时,json字段顺序不一致问题
DeFi 永不消亡?
行业现状令人失望,工作之后我又回到UC伯克利读博了
Introduction to radar part vii 3 formation and processing of SAR image
Reference and output message types in ROS
Complex networks - common drawing software and libraries
Charles' bag grabbing tool test practice
[noi simulation race] I don't know which CF paper title it is (probability expectation, martingale's stop time theorem)
"Computing beast" Inspur nf5468a5 GPU server open trial free application
反常积分的审敛
深入解读 EVM 的生态帝国
云解决方案,为什么选择 AMD EPYC?
JVM detailed parsing
第十天笔记
Knowledge map: basic concepts
Beifu PLC and C transmit string type through ads communication
【cocos creator】spine动画,监听播放结束