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

make 命令執行錯誤 #1

Closed
ianchen0119 opened this issue Nov 29, 2020 · 2 comments
Closed

make 命令執行錯誤 #1

ianchen0119 opened this issue Nov 29, 2020 · 2 comments

Comments

@ianchen0119
Copy link
Collaborator

ianchen0119 commented Nov 29, 2020

我在遵循文件安裝相關套件並設定好環境變數後,進入 01-HelloOs 嘗試讓他開始執行。

  1. 在 Git Bash 輸入如下指令:
make
  1. 出現了以下錯誤訊息:
IAN@DESKTOP-9AEMEPL MINGW64 ~/Desktop/mini-riscv-os/01-HelloOs (master)
$ make
riscv64-unknown-elf-gcc -nostdlib -fno-builtin -mcmodel=medany -march=rv32ima -mabi=ilp32 -T os.ld -o os.elf start.s os.c
process_begin: CreateProcess(NULL, riscv64-unknown-elf-gcc -nostdlib -fno-builtin -mcmodel=medany -march=rv32ima -mabi=ilp32 -T os.ld -o os.elf start.s os.c, ...) failed.
make (e=2): ▒t▒Χ䤣▒▒▒▒w▒▒▒ɮסC
make: *** [os.elf] Error 2

想請問有可能是哪個環節出了錯誤,謝謝。

@ianchen0119
Copy link
Collaborator Author

我將 Freedom Studio 重新安裝成與文件相同的版本後解決了,謝謝。

@ccckmit
Copy link
Contributor

ccckmit commented Dec 1, 2020

很高興問題解決了!

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

2 participants