Comments (7)
Bot detected the issue body's language is not English, translate it automatically.
Title: armclang assembly warning
from xmake.
这个好像跟 xmake 没啥关系吧,你可以自己调下 flags ,看下为啥 armclang 会显示这个警告。。xmake 没有加其他 flags
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
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
from xmake.
这个好像跟 xmake 没啥关系吧,你可以自己调下 flags ,看下为啥 armclang 会显示这个警告。。xmake 没有加其他 flags
重新捋了一遍确实不应该和xmake有关系,不是xmake加的,但是却报这个,ide里显示的汇编命令有
-mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c
-gdwarf-4 -Wa,armasm,--pd,"__MICROLIB SETA 1"
-Wa,armasm, -Wa,armasm,--pd,"AIR32F10X_MD SETA 1"
但是自己写这些命令其中
-mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,
都会报不识别
,命令中好像会把-后面的一个字母吞掉一样,没弄明白怎么回事
比如 -mcpu=cortex-m3
编译会报
会把-后面的一个字母吞掉,变成了 -cpu cortex-m3
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
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
I checked it again and it really shouldn’t have anything to do with xmake. It wasn’t added by xmake, but it reported this. The assembly command displayed in the IDE is
-mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c
-gdwarf-4 -Wa,armasm,--pd,"__MICROLIB SETA 1"
-Wa,armasm, -Wa,armasm,--pd,"AIR32F10X_MD SETA 1"
But write these commands yourself
-mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,
Will report that it is not recognized
, the command seems to swallow the letter after -, I don’t understand what’s going on.
For example -mcpu=cortex-m3
Compilation report
It will swallow up the letter after - and become -cpu cortex-m3
from xmake.
这也是 armasm 的问题,跟 xmake 好像也没啥关系
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
This is also a problem with armasm, and it seems to have nothing to do with xmake.
from xmake.
Related Issues (20)
- remote build blocked & distcc does not work HOT 7
- 更好的第三方插件集成 HOT 6
- Add links and package with set_sourcedir HOT 6
- GCC cannot find lua headers on Ubuntu HOT 2
- v2.9.2 单测运行失败问题 HOT 8
- add_files("*.c*") wildcard does not work anymore HOT 11
- add net.http.download timeout HOT 1
- compiler(gcc) does not support c++ module HOT 5
- D Language long arguments support HOT 4
- 支持将文件打组后添加进target中 HOT 5
- 以分支形式 add_package 时希望更新分支最新 commit HOT 5
- 安装支持 xmake 第三方库时无法自动解析 packages、syslinks 等 HOT 3
- 在github action上,传递给cmake参数中,错误使用v144不存在的工具链 HOT 4
- add_requires自定义路径不能使用内置变量 HOT 8
- cant install package due to "error: cannot move source.tmp\o to source Permission denied" HOT 4
- Can not update dependent libraries by xmake. HOT 2
- 希望提供一个全局脚本域做一些处理函数,避免每个 target 重复执行 HOT 3
- 报错日志文件路径没打全,难以定位问题 HOT 9
- 关于 xmake project -k vsxmake 先前生成vs工程文件不会自动更新 HOT 4
- Some general flags should be excluded when fetching packages from cmake HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.