Skip to main content

Thread: installing NACHOS


hello,
i'm looking on installing nachos (not heuristic operating system) in ubuntu. doing 1 of classes instructions received professor won't quite work me. instructions follows:

b. download compressed code of nachos blackboard
c. decompress, modify makefile, , run it.
execute: gtar -xvf nachos.tar.gz
execute: cd nachos40uwv11/code/build.linux
execute: make depend
execute: make
run nachos execute: ./nachos
i have extracted tar file, when ran make depend in nachos40uwv11/code/build.linux directory following output:

michael@dell-desktop:~/nachos/nachos...de/build.linux$ make depend
g++ -g -wall -wno-deprecated -fwritable-strings -i../network -i../filesys -i../userprog -i../threads -i../machine -i../lib -drdata -dsim_fix -dfilesys_stub -drr_quantum -dx86 -dlinux -dchanged -m ../lib/bitmap.cc ../lib/debug.cc ../lib/hash.cc ../lib/libtest.cc ../lib/list.cc ../lib/sysdep.cc ../machine/interrupt.cc ../machine/stats.cc ../machine/timer.cc ../machine/console.cc ../machine/machine.cc ../machine/mipssim.cc ../machine/translate.cc ../machine/network.cc ../machine/disk.cc ../threads/alarm.cc ../threads/kernel.cc ../threads/main.cc ../threads/scheduler.cc ../threads/synch.cc ../threads/thread.cc ../userprog/addrspace.cc ../userprog/exception.cc ../userprog/synchconsole.cc ../userprog/proctable.cc ../userprog/synchbitmap.cc ../userprog/table.cc ../filesys/directory.cc ../filesys/filehdr.cc ../filesys/filesys.cc ../filesys/pbitmap.cc ../filesys/openfile.cc ../filesys/synchdisk.cc ../network/post.cc > makedep
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
cc1plus: error: unrecognized command line option "-fwritable-strings"
make: *** [depend] error 1
please let me know if have suggestions, thanks.

http://hub.opensolaris.org/bin/view/...g_fixing_notes

ask professor why told use program needs gcc 3.x compile. try remove -fwritable-strings flag, may cause program crash if compiled.

edit: seems there java versions of nachos if work assignment.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs installing NACHOS


Ubuntu

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???