You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wi-creator c0b3ac646f
seven
4 years ago
..
.vscode seven 4 years ago
include seven 4 years ago
.DS_Store seven 4 years ago
Makefile seven 4 years ago
README seven 4 years ago
clone.c seven 4 years ago
echo.c seven 4 years ago
execve.c seven 4 years ago
execve2.c seven 4 years ago
getcwd.c seven 4 years ago
getdents.c seven 4 years ago
mmap.c seven 4 years ago
munmap.c seven 4 years ago
new.h seven 4 years ago
oscomp_syscalls.html seven 4 years ago
oscomp_syscalls.md seven 4 years ago
pipe.c seven 4 years ago
sleep.c seven 4 years ago

README

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1.新的系统调用号定义在../include/unistd.h中。

2.为了在Linux 0.11中顺利进行make需要在bochs虚拟机中对硬盘作一些调整如下
cd /bin
mv sh sh.old
ln bash sh

3.编译
编译所有文件:
  make

编译某个文件,如:
  make execve2

4.测试
make test

4.清除中间文件
make clean