Skip to content
Snippets Groups Projects
Commit 68c94a87 authored by Zille Huma Kamal's avatar Zille Huma Kamal
Browse files

Update README.md - with instructions to build OS161 userspace programs

parent 4fbd1871
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,18 @@ of the kernel. Symbols are the names we have given functions and variables. This
Note: If run.sh fails it means there is still a os161-runner container running. Use `docker kill os161` to kill it.
## Building and installing OS/161 userspace programs
User-level programs are built and installed from the directory /os161-1.99/.
To build and install all of the user-level programs, in the container
You can type
```
# cd cd /os161-1.99/
# sys161 kernel
bmake
bmake install
```
User-level programs are installed under $OS161TOP/root/ in the bin, sbin, testbin and uw-testbin directories.
## Running Linux userspace assignments
To run the Linux userspace programs in the container, that are part of the progrmaming assignment, you must start the container using the `run.sh` script, which takes one argument -- the directory that holds your code for that userspace programming assignment, that is, the `c` files for the programming assignments. For example,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment