Skip to content

添加qemu-riscv的smart工具链,补全了一些头文件,仅供演示 #3

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hydevcode
Copy link
Contributor

@hydevcode hydevcode commented Mar 21, 2025

在大赛官方的测试用例使用我们用户态工具链编译出现了找不到头文件的问题
比如说编译busybox少了以下几个头文件:

#include <linux/capability.h>
#include <linux/kd.h>
#include <linux/vt.h>
...

通过手动补全后可以正常编译大赛官方的测试用例

@hydevcode hydevcode marked this pull request as draft March 21, 2025 06:13
@hydevcode hydevcode marked this pull request as ready for review March 22, 2025 02:36
@hydevcode hydevcode changed the title 添加qemu-riscv的smart工具链,补全了一些头文件 添加qemu-riscv的smart工具链,补全了一些头文件和添加了文档 Mar 22, 2025
@hydevcode hydevcode changed the title 添加qemu-riscv的smart工具链,补全了一些头文件和添加了文档 添加qemu-riscv的smart工具链,补全了一些头文件,仅供演示 Mar 24, 2025
@BernardXiong
Copy link
Member

直接提了一个工具链上来?

@hydevcode
Copy link
Contributor Author

直接提了一个工具链上来?

是的,大赛提供的测评样例在正常情况下需要适配我们的工具链才能运行。为了实现演示需求,就对Smart的工具链进行了一些修改,以确保能够成功编译测评样例并完成测试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants