Granted, computers have changed a lot in the intervening years, but it still makes me sad to compare what Apple was to what Apple became.
19 karma · joined December 26, 2016
Granted, computers have changed a lot in the intervening years, but it still makes me sad to compare what Apple was to what Apple became.
https://hub.docker.com/r/brett/gcc-cross-x86_64-elf/
It hosts the gcc 7.1 x86_64-elf compiler with redzone disabled.
If you don't want to use the docker container, you can view the dockerfile to see the steps required to build the cross-compiler yourself:
https://github.com/beevik/docker/tree/master/gcc-cross-x86_6...
I included some other resources I consulted in the README. The OSDev wiki (http://wiki.osdev.org/Main_Page) is also good, although I found some of it to be dated or incorrect.
Good luck on developing your OS. Even though I'm not finished, it's been an extraordinarily valuable and educational process.
https://github.com/beevik/MonkOS
In particular, the bootloader:
https://github.com/beevik/MonkOS/blob/master/boot/loader.asm