51 lines
1.9 KiB
Text
51 lines
1.9 KiB
Text
____ _ _ _
|
|
/ ___|__ _| | ___(_) |_ ___
|
|
| | / _` | |/ __| | __/ _ \
|
|
| |__| (_| | | (__| | || __/
|
|
\____\__,_|_|\___|_|\__\___|
|
|
|
|
Calcite is a hobby operating system. I am maintaining a weblog with occasional
|
|
status updates at <https://www.benjidial.net/weblog/calcite>.
|
|
|
|
Calcite is very much alpha software. Do not expect it to do anything useful.
|
|
|
|
=== Building
|
|
|
|
Calcite requires some dependencies before it can be built:
|
|
* curl
|
|
* GCC (Any C compiler supporting both C99 and C23 should work.)
|
|
* GNU Binutils (Specifically, "ld" is used to link the kernel.)
|
|
* GNU Make (I don't think I have used any GNU extensions.)
|
|
* GNU xorriso
|
|
|
|
On Debian, it is sufficient to run this command:
|
|
apt install binutils curl gcc make xorriso
|
|
|
|
To build Calcite, first run "sh get-dependencies.sh", then run "make".
|
|
This will build a disk image at "build/disk.iso" that can be booted
|
|
with either BIOS or UEFI.
|
|
|
|
=== Debugging
|
|
|
|
Once Calcite has been built, some more dependencies are required to debug it:
|
|
* GNU's GDB
|
|
* QEMU, including the x86_64 system
|
|
|
|
On Debian, it is sufficient to run this command:
|
|
apt install gdb qemu-system-x86
|
|
|
|
Then, just run "make debug". Calcite will be booted in QEMU, and GDB will be
|
|
attached to it. Use "c" or "continue" in GDB to start execution.
|
|
|
|
=== License
|
|
|
|
Calcite is Copyright 2025 Benji Dial, and licensed under the GNU GPL v3. See
|
|
"license.txt" for the text of the license.
|
|
|
|
The disk image includes the Limine bootloader. Limine is Copyright 2019-2025
|
|
Mintsuki and contributors, and is released under the BSD 2-Clause license.
|
|
You can find Limine online at <https://github.com/limine-bootloader/limine>.
|
|
After running "sh get-dependencies.sh", you can find the license of Limine at
|
|
"dependencies/limine/LICENSE". Limine also has its own dependencies. In the
|
|
source repository of Limine, you can find a list of these with their licenses
|
|
at "3RDPARTY.md".
|