-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Patch gcc toolchain #111
Patch gcc toolchain #111
Conversation
# 解决kvm权限问题 | ||
USR=$USER | ||
sudo adduser $USR kvm | ||
sudo chown $USR /dev/kvm | ||
|
||
congratulations | ||
congratulations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文件末尾要加1行空行
kernel/src/head.S
Outdated
@@ -661,5 +661,4 @@ gdt64_pointer: | |||
.quad gdt64 | |||
gdt64_pointer64: | |||
.short gdt64_pointer-gdt64-1 | |||
.quad gdt64 | |||
|
|||
.quad gdt64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文件末尾要加1行空行
tools/build_gcc_toolchain.sh
Outdated
|
||
# It's recommended that your pwd is in /DragonOS/tools/. | ||
# 建议自行选择安装的位置 | ||
STRUCTURE="x86_64" # 这里县则 x86_64 (64位),而不是选择 i686 架构(32位) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
错别字哈哈
@@ -183,7 +194,8 @@ make run-docker | |||
  在qemu虚拟机被启动后,我们需要在控制台输入字母`c`,然后回车。这样,虚拟机就会开始执行。 | |||
|
|||
:::{note} | |||
首次编译时,由于需要下载Rust相关的索引(几百MB大小),因此需要一定的时间,请耐心等候! | |||
(1) 首次编译时,由于需要下载Rust相关的索引(几百MB大小),因此需要一定的时间,请耐心等候! | |||
(2) 输入命令可能需要加上sudo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不能sudo,因为rust是装在当前用户目录下的。
- apt安装时增加-y,不需用户确认
… into patch-gcc-toolchain
Patch gcc toolchain (fslongjin#111)
No description provided.