首页
移动开发
物联网
服务端
编程语言
企业开发
数据库
业界资讯
其他
搜索
在windows下将go程序打包为linux可执行程序
企业开发
2023-07-11 19:26:59
阅读次数: 0
打开文件所在目录,在资源路径框中输入cmd,打开cmd命令框(不要直接在goland或其他编程软件中进行)
配置编译环境参数如下所示
set
GOOS
=
linux
set
GOARCH
=
amd64
3.编译打包命令
go
build main
.
go
上传到linux系统
chmod +x main.添加可执行权限
猜你喜欢
转载自
blog.csdn.net/qq_45808700/article/details/131419641
在windows下将go程序打包为linux可执行程序
Windows环境打包python工程为可执行程序
windows/linux下Qt可执行程序打包,linux桌面双击运行程序sh脚本
Windows 下编译Linux 64位可执行程序
在windows下编译出linux可执行程序
Windows 中使用py2exe将python程序打包成可执行程序
node pkg 打包一个为一个可执行程序(linux、windows、mac)
Linux 底下利用PAR 打包Perl程序为可执行程序
将python文件打包成EXE可执行程序
python---将代码打包成可执行程序
python 打包py文件为可执行程序exe
在windows系统和ubantu系统下python打包成可执行程序
IDEA打包成可执行程序
Android下运行Linux可执行程序
【C#编译linux可执行程序】visual studio 2022下C#编译linux可执行程序
将java swing写的用程序打包exe可执行程序
python中如何将程序打包成为exe可执行程序
将Matlab程序打包成.exe独立可执行程序
【Python】使用pyinstaller打包Python程序为EXE可执行程序
【Python】使用nuitka打包Python程序为EXE可执行程序
Android 运行 Linux 可执行程序
linux可执行程序调试
Linux调用可执行程序
创建linux可执行程序
python程序打包成exe可执行程序
【Java】将Java文件打包成.exe可执行程序
解决:如何将Python代码打包成exe可执行程序的问题
使用pyinstaller将py文件打包成exe可执行程序
python 如何将代码打包成exe可执行程序?
exe4j 将jar包打包成exe可执行程序
今日推荐
周排行
Access的四舍五入取整
8.23 前端学习过程
入门学习过程方向与漏洞复现总结:
操作分布式文件之八:如何批量并行读写远程文件和事务补偿处理
应邀出个教程 (搭建tensorflow跑网络环境)
Kubernetes之Pod控制器应用进阶
14-[mysql内置功能]--
HDU6212 区间dp 好题
VS2015生成代码图
验证手机号的工具类
每日归档
更多
2024-10-21(0)
2024-10-20(0)
2024-10-19(0)
2024-10-18(0)
2024-10-17(0)
2024-10-16(0)
2024-10-15(0)
2024-10-14(0)
2024-10-13(0)
2024-10-12(0)