Nachos Operating System Learning (1) Import nachos source code to eclipse under Windows

Source: Internet
Author: User

In the trance between the landlord has been sophomore, this time period I am afraid not to think about what to start looking for work and other things, honestly learn something is the most important, so I aimed at the operating system of learning, nachos is a learning operating system, easy to get started, and UC Berkeley Computer Academy also provides Java write nachos source code, use object-oriented thinking to learn the mechanism of operating system, feel more suitable for the landlord I this small white to learn. The landlord will continue to update this series of learning experience, there are any errors in the place to look at you a lot of corrections. Landlord qq:81996308 willing and everyone to become pen pal!

First, you need to download the Windows version of the source code, official website: http://www.cs.berkeley.edu/~kubitron/courses/cs162-F05/Nachos/index.html

Landlord I also uploaded a free resource URL: http://download.csdn.net/detail/u014492257/8604723

Then, we'll focus on importing nachos source code into eclipse under Windows:

1. Open Eclipse, set up the project, named Nachos2, as shown in:


2. Find the new project Nachos2 corresponding working path, copy the extracted nachos source code to the SRC folder:




3. Copy the Nachos.confi file from the proj1 to the root path of the nachos project, which is the same path as the SRC folder:




after the above three steps are done, you can run the following steps: Find the Nachos.machine.Machine.java file and right-click to run it.



If the Eclipse console runs as shown, then the code import Eclipse success, you can start to read code, code read we can program, the next one months time the landlord will and everyone read a piece of code, a study, due to the capacity of the landlord limited, what is not suitable place, I hope you have a lot of advice!

Nachos Operating System Learning (1) Import nachos source code to eclipse under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.