Skip to content

A community-driven operating system written in C

Notifications You must be signed in to change notification settings

alexis-belmonte/TacOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS workshops

Cross Compiler

To compile the OS for the CPU, we need a cross compiler, a cross linker, etc.. It allows us to compile for another target than your current OS.

We have made a Docker image, to build and run it, run the next instructions:

Docker

docker build -t osdev .

If you want to run qemu in graphical mode from the container (Forwarding X socket),

docker run -it -e DISPLAY=$DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v $PWD:/osdev osdev

if you just want to compile,

docker run -it -v $PWD:/osdev osdev

From sources

You can build it by hand from this source https://wiki.osdev.org/GCC_Cross-Compiler.

Documentation

To read the documentaion Doc.

About

A community-driven operating system written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.8%
  • Assembly 11.6%
  • Makefile 3.6%
  • Dockerfile 2.0%