Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

How-to-Make-a-Computer-Operating-System

> 编程语言
Open source

How to Make a Computer Operating System in C++

22.4K stars0 likes4 views
WebsiteGitHub

About

How to Make a Computer Operating System in C++

How to Make a Computer Operating System

Online book about how to write a computer operating system in C/C++ from scratch.

Caution: This repository is a remake of my old course. It was written several years ago as one of my first projects when I was in High School, I'm still refactoring some parts. The original course was in French and I'm not an English native. I'm going to continue and improve this course in my free-time.

Book: An online version is available at http://samypesse.gitbooks.io/how-to-create-an-operating-system/ (PDF, Mobi and ePub). It was generated using GitBook.

Source Code: All the system source code will be stored in the src directory. Each step will contain links to the different related files.

Contributions: This course is open to contributions, feel free to signal errors with issues or directly correct the errors with pull-requests.

Questions: Feel free to ask any questions by adding issues or commenting sections.

You can follow me on Twitter @SamyPesse or GitHub.

What kind of OS are we building?

The goal is to build a very simple UNIX-based operating system in C++, not just a "proof-of-concept". The OS should be able to boot, start a userland shell, and be extensible.

Issues· 86 open

View all issuesOpen on GitHub
  • #178

    environment preparation error

    Updated Jul 6, 2025
  • #177

    How can I 'make run' correctly?

    Updated Aug 18, 2024
  • #147

    Error in downloading Ubuntu lucid32

    Updated Jun 5, 2024
  • #161

    vagrant fail to provision the machine

    Updated Jun 5, 2024
  • #63

    qemu command is not now available to Ubuntu 14.04 LTS

    Updated Apr 9, 2024
  • #168

    Why is there so much virtual environments?

    Updated Feb 16, 2023
  • #166

    Can I use the operating system now?

    Updated Aug 23, 2021
  • #80

    Chapter 2: "make run" fails

    Updated Aug 17, 2021
  • #169

    fatal: more than one output file specified: arch/x86/start.o

    Updated Aug 16, 2021
  • #29

    Chapter 2 spelling and how to exit qemu?

    Updated Jul 13, 2021

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言