1
celeron533 2018 年 10 月 4 日
请在网上搜索:交叉编译
|
2
xxgirl2 2018 年 10 月 4 日
交叉编译,工具链:`apt install g++-mingw-w64`
之后正常编译链接就行,运行时缺什么 DLL 直接复制过去。 |
3
FrankHB 2018 年 10 月 5 日 gcc *.c -oxxx.exe
(反正没说要 PE,干嘛交叉编译。都叫 EXEutable,又不要 shebang 啥卵子的,我还习惯编译出来不管啥都无脑搞成 exe 呢: https://github.com/FrankHB/YSLib/blob/bd84aeec73612e4a780905a4c3b19e7825e5beb5/Tools/Scripts/SHBuild-YSLib-common.txt#L324 ) |