unix-v6 icon indicating copy to clipboard operation
unix-v6 copied to clipboard

Compile

Open anosh-anosh opened this issue 3 years ago • 2 comments

How do i compile?

anosh-anosh avatar Aug 27 '21 07:08 anosh-anosh

You need first to bring it to the c99/c11 standard. Then you go to the /ken/ dir and run command line.(you must have GCC installed). In the command prompt you run the command gcc -o main.bin main.c -nostdlib

Also, a "revision" to the code is at https://course.ccs.neu.edu/cs3650/unix-xv6/HTML/mains.html

george1605 avatar Sep 04 '21 14:09 george1605

If you don't have GCC , you can install it from https://gcc.gnu.org/install/

And to run it you just use QEMU.

george1605 avatar Sep 04 '21 14:09 george1605