Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

其他语言编译成ELF文件

各位大佬,请教个问题,例如python通过py2exe可以变成exe,有没有什么其他语言可以通过类似的现成工具变成ELF的?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

golang 在 build 的时候可以直接使用 GOOS=windows GOARCH=amd64 go build 这样直接构建出 windows 下 64位的 exe 文件.工具的话 gox 这货,,其实也就是对上述命令的封装.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...