各位大佬请教一个配置msys2中工具链的问题 #7026
Unanswered
StarryPortrait
asked this question in
Q&A
Replies: 1 comment 12 replies
-
|
为啥不直接用 msys2 ucrt 环境,啥也不用配,默认就是
指定sdk目录,也不需要自定义,看下交叉编译文档,原本就可以自动探测 https://xmake.io/zh/guide/basic-commands/cross-compilation.html |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
我使用msys安装了mingw-w64-ucrt-x86_64-toolchain与mingw-w64-x86_64-arm-none-eabi-toolchain这两个工具链。我的xmake.lua如下。我希望他在编译时使用ucrt-x86_64-toolchain,但他总是使用arm-none-eabi-toolchain。请问这该咋整
报错如下
当我将环境切换到ucrt64,然后编译还是会出现如上报错。但我去掉set_toolchains("ucrt64")则可正常编译。请问我该如何在不进入ucrt64的情况下使用ucrt-x86_64-toolchain进行编译
Beta Was this translation helpful? Give feedback.
All reactions