Skip to content
/ swift_os Public

An operating system written in Swift.

License

NotificationsYou must be signed in to change notification settings

kkebo/swift_os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29b0ff4 · Sep 14, 2024

History

98 Commits
Aug 25, 2024
Sep 3, 2024
Mar 18, 2024
Sep 8, 2024
Jan 6, 2024
Sep 2, 2024
Sep 13, 2024
Sep 4, 2024
Aug 15, 2024

Repository files navigation

swift_os

An operating system written in Swift.

Prerequisites

  • Make
    • Arch Linux: sudo pacman -S make
    • Fedora 40: sudo dnf install make
    • Ubuntu 22.04: sudo apt install make
    • Debian 12: sudo apt install make
    • macOS 14: bulit-in (/usr/bin/make)
  • llvm-objcopy
    • Arch Linux: sudo pacman -S llvm
    • Fedora 40: sudo dnf install llvm
    • Ubuntu 22.04: sudo apt install llvm
    • Debian 12: sudo apt install llvm
    • macOS 14: brew install llvm and add /opt/homebrew/opt/llvm/bin to your $PATH
  • QEMU 9.0 or later
    • Arch Linux: sudo pacman -S qemu-system-aarch64
    • Fedora Rawhide: sudo dnf install qemu-system-aarch64-core
    • Fedora 40: Build from source
    • Ubuntu 22.04: sudo apt install qemu-system-arm Build from source
    • Debian 12: Build from source
    • macOS 14: brew install qemu
  • Swift (main snapshot)
    • On Linux, you can easily install the toolchain using swiftly.

      curl -L https://swift-server.github.io/swiftly/swiftly-install.sh | bash
      swiftly install main-snapshot

Building

make

Cleaning build outputs

make clean

Running on QEMU

make run

About

An operating system written in Swift.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published