Skip to content

plos-clan/CoolPotOS-kotlin

Repository files navigation

CoolPotOS Kotlin

Build

This project uses Gradle for kernel build, ISO packaging, and QEMU run.

  • Supports kernel build, ISO packaging, and QEMU run
  • Cross-platform compatible (Linux/macOS/Windows)

Available Gradle tasks:

  • ./gradlew build: Build kernel ELF
  • ./gradlew buildIso: Build the UEFI ISO image
  • ./gradlew run: Run the ISO image in QEMU
  • ./gradlew clean: Clean kernel build outputs
  • ./gradlew cleanAll: Remove entire build directory
  • ./gradlew buildMlibc: Build bundled mlibc

Quick start:

Build and run in one command

./gradlew run

Or step by step

./gradlew buildIso
./gradlew run

You need to install:

  • Kotlin/Native (konanc, cinterop)
  • Clang (clang, clang++)
  • LLD (ld.lld)
  • xorriso (for ISO creation)
  • qemu-system-x86_64 (for emulation)
  • Git and Gradle (included with Kotlin/Native)

License

This project is licensed under the 0BSD License.

About

CoolPotOS Kotlin edition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors