msys2 下无法跨环境编译 #6128
Unanswered
MaxLHy0424
asked this question in
Q&A
msys2 下无法跨环境编译
#6128
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题, 比如我在
ucrt64
环境中进行构建, 同时需要生成 32 位的可执行文件. 这边假设我已将安装了mingw-w64-ucrt-x86_64-toolchain
和mingw-w64-i686-toolchain
, xmake 安装在ucrt64
环境中. 如我写的xmake.lua
, 即使手动设置了sdkdir
和bindir
, 最终输出的 32 位可执行文件实际上仍为 64 位可执行文件. 同时, 架构设定也并不起效.Beta Was this translation helpful? Give feedback.
All reactions