Important
This project was archived. Adding a full Python support for an OS from scratch is a hard one, so i decided to create a lightweight Linux distribution.
(Experimental) SCL in an OS
This is an OS that can run Python code, in our case it's SCL.
(keep in mind this is the first time i'm writing an compile instructions)
Requirements: nasm gcc python3-dev
and other stuff (sorry, but as i said this is my first time writing compile instructions)
- Assembly:
nasm -f elf64 kernel.asm -o kasm.o
- GCC:
gcc -I/usr/include/python3.12 -m64 -c kernel.c -o kc.o
- Linker:
echo Not Done yet!
I haven't figured how to make it work, but if you might want to help, then here's the command that's not working:ld -T link.ld -melf_x86_64 -o kernel kasm.o kc.o
- Install
qemu-system-x86
- run
qemu-system-x86 -kernel kernel
in the same folder where you got *.o files
- New Compile directory
- Fully Tested and Working SCL
- Special commands for SCL OS (Probably will be ported to executable version later)