Giter VIP home page Giter VIP logo

build's Introduction

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

Reference screenshot

THIS PROJECT IS DEFUNCT.

Sorry about that.

Please do not send PRs or open issues against this defunct project which will no longer be updated.

You're free to check out the code, fork it, and all that, as long as the license (LICENSE.md) is respected.

Moving on

Build requirements

In order to build qword, make sure to have the following installed: wget, git, bash, make (gmake on FreeBSD), patch, meson (from pip3), ninja, xz, gzip, tar, gcc/g++ (8 or higher), nasm, autoconf, bison, gperf, autopoint, help2man, fuse-devel (on Linux), rsync (on Linux), parted (on Linux), and qemu (to test it).

The echfs utilities are necessary to build the image. Install them:

git clone https://github.com/qword-os/echfs.git
cd echfs
make
# This will install echfs-utils in /usr/local
sudo make install

And finally, make sure you have xbstrap. You can install it from pip3:

sudo pip3 install xbstrap

Building

# Clone this repo wherever you like
git clone https://github.com/qword-os/build.git qword-build
cd qword-build
# Create and enter a "build" directory inside
mkdir build && cd build
# Initialise xbstrap and start a full build
xbstrap init ..
xbstrap install --all
# Enter the root directory of the repo
cd ..
# Create the image using the bootstrap.sh script
MAKEFLAGS="-j4" ./bootstrap.sh build
# If your platform doesnt support fuse, you can use.
# MAKEFLAGS="-j4" USE_FUSE=no ./bootstrap.sh ../build
# And now if you wanna test it in qemu simply run
./run.sh
# If that doesn't work because you don't have hardware virtualisation/KVM, run
NO_KVM=1 ./run.sh

Some MAKEFLAGS that can be useful are:

MAKEFLAGS="-j8" ./bootstrap.sh build  # For parallelism
MAKEFLAGS="DBGOUT=qemu -j8" ./bootstrap.sh build  # For QEMU console debug output
DBGOUT=tty    # For kernel tty debug output
DBGOUT=both   # For both of the above
DBGSYM=yes    # For compilation with debug symbols and other debug facilities (can be used in combination with the other options)

build's People

Contributors

mintsuki avatar dennisbonke avatar geertiebear avatar

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.