Giter Site home page Giter Site logo

informer2016 / qword Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qword-os/qword

0.0 0.0 0.0 1.07 MB

A modern and functional operating system for x86_64

Home Page: http://qword-os.org

License: Other

Makefile 0.90% Shell 2.32% C 83.22% Assembly 8.70% C++ 4.42% Objective-C 0.45%

qword's Introduction

qword - A KISS Unix-like operating system, written in C and Assembly for x86_64.

goto counter

Reference screenshot

Features

  • SMP (multicore) scheduler supporting thread scheduling.
  • Program loading with minimal userspace.
  • Fully functional VFS with support for several filesystems.
  • Support for AHCI/SATA.
  • ATA disk support.

Build requirements

In order to build qword, make sure to have the following installed:

  • wget
  • git
  • bash
  • make
  • meson
  • ninja
  • GCC and binutils
  • nasm
  • QEMU (to test it)

On Debian and Ubuntu, these packages can be installed with:

sudo apt-get install git build-essential meson nasm qemu-system-x86

On FreeBSD, these packages can be acquired using pkg with:

sudo pkg install git wget bash gcc gmake meson nasm qemu

Building

# Clone repo wherever you like
git clone https://github.com/qword-os/qword.git
cd qword
# Build and install echfs-utils (used to build the root fs image)
cd host/echfs-utils
make
# This will install echfs-utils in /usr/local
sudo make install
# Else specify a PREFIX variable if you want to install it elsewhere
#make PREFIX=<myprefix> install
# Now build the toolchain (this step will take a while)
cd ../toolchain
# You can replace the 4 in -j4 with your number of cores + 1
./make_toolchain.sh -j4
# Go back to the root of the tree
cd ../..
# Build the ports distribution
cd root/src
./makeworld.sh -j4
./makeworld.sh clean
# Now to build qword itself
cd ../..
# You might need to use gmake instead of make here on FreeBSD
make clean && make DEBUG=qemu img && sync

You've now built qword, a flat qword.img disk image has been generated. To run the OS in QEMU, use make run-img. To run it with KVM enabled, use make run-img-kvm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.