Skip to content
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

如何编译出linux交叉编译链 #28

Open
aaaaala opened this issue Aug 28, 2024 · 0 comments
Open

如何编译出linux交叉编译链 #28

aaaaala opened this issue Aug 28, 2024 · 0 comments

Comments

@aaaaala
Copy link

aaaaala commented Aug 28, 2024

平台:ubuntu 22.04
编译配置:
sudo ./configure --prefix=/opt/riscv --with-arch=rv64ga --with-abi=ilp32
sudo make linux -j $(nproc)
可以在opt中生成工具链,但使用对应的gcc编译程序会报错。

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

No branches or pull requests

1 participant