2. Then you can build and install the user-land part of OS/161:
$ cd ̃/os/asst0-src
$ make
As you will not modify the user-land tools, these two steps are required only once per
assignment (though you may perform them as often as you like).
3. The kernel itself must be configured separately:
$ cd ̃/os/asst0-src/kern/conf
$ ./config ASST0
4. The last step is to build and install the kernel:
$ cd ̃/os/asst0-src/kern/compile/ASST0
$ make
2
Diese Schritte gehn einfach nicht. Hier mal ein Auszug aus meinem Terminal.
Code: Alles auswählen
-W -Wwrite-strings -O2 -c mips-crt0.S -o crt0.o
make[3]: cs161-gcc: Kommando nicht gefunden
make[3]: *** [crt0.o] Fehler 127
make[3]: Verlasse Verzeichnis '/home/blue/os/asst0-src/lib/crt0'
make[2]: *** [all] Fehler 2
make[2]: Verlasse Verzeichnis '/home/blue/os/asst0-src/lib'
make[1]: *** [compile] Fehler 2
make[1]: Verlasse Verzeichnis '/home/blue/os/asst0-src'
make: *** [all] Fehler 2
blue@Awesome-O:~/os/asst0-src$ cd kern/conf
blue@Awesome-O:~/os/asst0-src/kern/conf$ ./config ASST0
Configuration ASST0
Generating files... opt-*.h files.mk defs.mk Makefile autoconf.h autoconf.c
Configuration in ../compile/ASST0 done
blue@Awesome-O:~/os/asst0-src/kern/conf$ cd ..
blue@Awesome-O:~/os/asst0-src/kern$ cd compile/ASST0/
blue@Awesome-O:~/os/asst0-src/kern/compile/ASST0$ make
cs161-gcc -mno-abicalls -fno-pic -Wall -W -Wwrite-strings -g -nostdinc -I../../include -I../../dev -I. -ffreestanding -D_KERNEL -G 0 -M autoconf.c > autoconf.d
/bin/sh: cs161-gcc: not found
cs161-gcc -mno-abicalls -fno-pic -Wall -W -Wwrite-strings -g -nostdinc -I../../include -I../../dev -I. -ffreestanding -D_KERNEL -G 0 -c ../../dev/generic/rtclock.c
make: cs161-gcc: Kommando nicht gefunden
make: *** [rtclock.o] Fehler 127