-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
交叉编译器获取不到check_sizeof
大小
#4491
Comments
Title: Cross compiler cannot obtain |
看下这两个库在哪配置的,库在哪个路径下 |
Check where these two libraries are configured and which path they are under. |
这两个库是同个项目下编译生成的 没有进到编译阶段 所以这两个库还没有开始编译 |
These two libraries were compiled and generated under the same project and have not entered the compilation stage, so the compilation of these two libraries has not started yet. |
这得需要改下内部实现,估计得等几天,你可以用描述域 check_sizeof 接口,那个是不继承 target 配置的 |
This requires changing the internal implementation, which may take a few days. |
再试试 |
Try |
可以了 |
That's it |
improve to check snippets in target #4491
Xmake 版本
v2.8.5+master
操作系统版本和架构
ubuntu22 gcc-linaro-5.4.1-2017.05-x86_64_arm-linux-gnueabihf
描述问题
交叉编译器无法获取到
target:check_sizeof
数据配置阶段的编译器检查编译文件时链接了后级的库 导致链接失败 然后
target:check_sizeof
执行失败期待的结果
aarch64应该是8
工程配置
附加信息和错误日志
checking for flags (-fvisibility-inlines-hidden) ... ok
sizeof(long) = %s
The text was updated successfully, but these errors were encountered: