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.
Lizhenqi 11da16405b
Lizhenqi
5 years ago
..
Makefile Lizhenqi 5 years ago
README Lizhenqi 5 years ago
a.out Lizhenqi 5 years ago
clone.c Lizhenqi 5 years ago
echo.c Lizhenqi 5 years ago
execve.c Lizhenqi 5 years ago
execve2.c Lizhenqi 5 years ago
execve2.patch Lizhenqi 5 years ago
getcwd.c Lizhenqi 5 years ago
getdents.c Lizhenqi 5 years ago
mmap.c Lizhenqi 5 years ago
munmap.c Lizhenqi 5 years ago
mytest.c Lizhenqi 5 years ago
new.h Lizhenqi 5 years ago
oscomp_syscalls.md Lizhenqi 5 years ago
pipe.c Lizhenqi 5 years ago
sleep.c Lizhenqi 5 years ago
unistd.h Lizhenqi 5 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