-
-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
armclang汇编警告 #5071
Comments
Title: armclang assembly warning |
这个好像跟 xmake 没啥关系吧,你可以自己调下 flags ,看下为啥 armclang 会显示这个警告。。xmake 没有加其他 flags |
This seems to have nothing to do with xmake. You can adjust flags yourself to see why armclang displays this warning. . xmake does not add other flags |
重新捋了一遍确实不应该和xmake有关系,不是xmake加的,但是却报这个,ide里显示的汇编命令有
但是自己写这些命令其中
都会报不识别 |
这也是 armasm 的问题,跟 xmake 好像也没啥关系 |
This is also a problem with armasm, and it seems to have nothing to do with xmake. |
这个应该是使用的armasm编译器导致的,armasm编译器只支持-cpu -float。armclang也能作为汇编代码的编译器,对应到armclang下就是-mcpu -mfloat。不知道xmake中能不能显式指定汇编的编译器 @waruqi ,类似cmake中的 |
This should be caused by the armasm compiler used. The armasm compiler only supports -cpu -float. armclang can also be used as a compiler for assembly code, which corresponds to -mcpu -mfloat under armclang. I don’t know if it is possible to explicitly specify the assembly compiler in xmake @waruqi, similar to that in cmake |
我也遇到相似的问题,将/xmake/安装/路径/toolchains/armclang/xmake.lua更改了
|
target 里面也有 set_toolset 接口的,或者直接 |
@waruqi 对armclang版本进行判断比较靠谱,跟随keil的行为 |
可以直接来个 pr 过来,我暂时没这个 toolchain |
You can send a PR directly. I don’t have this toolchain yet. |
Xmake 版本
2.9.1
操作系统版本和架构
win10
描述问题
有 Warning: A3912W: Option 't' is deprecated. 警告,但是并未设置 t 参数
期待的结果
无警告
工程配置
armclang编译
附加信息和错误日志
Warning: A3912W: Option 't' is deprecated.
The text was updated successfully, but these errors were encountered: