Skip to content

epi-osdev/workshop-student

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published