Commit Graph

45 Commits

Author SHA1 Message Date
1f2901d41a Add convenience script to replace stdint.h types with Types.h types 2022-11-20 18:28:46 +01:00
285c3cc411 Add Luna sources to list of sources to be formatted 2022-11-20 18:28:16 +01:00
83e6bd1322 Make the build system more platform-agnostic 2022-11-19 17:46:53 +01:00
7f15ba0ac5 Add some interrupt handling 2022-11-16 17:37:18 +01:00
6b95307b54 Add init 2022-11-13 12:20:53 +01:00
a3465c2f5e tools: Make buildstep exit on error 2022-11-12 11:30:17 +01:00
da41784183 Fix setup-gcc.sh 2022-11-09 17:15:02 +01:00
46e4d37098 toolchain: build libstdc++ without exceptions, just in case 2022-11-09 12:09:56 +01:00
b6f2b41f1f Toolchain: Build libstdc++ just after gcc and libgcc
This means... C++ userland programs!!
Some parts of the standard library still have weird behavior. For example, do not try to use std::cout. That page-faults.
2022-11-09 11:56:08 +01:00
033c41cbd7 Kernel: Rework the uid/gid system to make it compliant 2022-11-09 09:54:07 +01:00
99429baed2 tools: make moon.sym readable only by root
We don't want everyone peeking at kernel symbols.
2022-11-09 09:11:00 +01:00
bb26996cb7 Add a script to check whether all project sources are properly formatted 2022-11-08 19:17:21 +01:00
0c1ffedd3f Add a script to run clang-format on all source files 2022-11-08 19:07:16 +01:00
327b60566c Use different color for luna builds than for port builds 2022-11-08 18:04:58 +01:00
054d5a8bb4 Build system: Prettify build 2022-11-08 18:03:43 +01:00
cbc2e76082 Remove the .elf suffix from the kernel filename 2022-11-03 20:44:37 +01:00
d875224045 Ports: Add mpc, mpfr and gmp ports 2022-10-26 21:56:43 +02:00
8cfede341f Tools: Fix run.sh and update rebuild-and-run.sh to use fast-run.sh 2022-10-24 21:18:28 +02:00
35da7e0223 Fix up install-built-ports.sh if ports.list is not present 2022-10-24 20:52:52 +02:00
1716a81e82 no need to unset filter-lines 2022-10-24 20:48:57 +02:00
040fbde462 Unset LD and AR so gcc doesn't get confused 2022-10-24 18:33:29 +00:00
bd56c7f496 Unset LD and AR so binutils doesn't get confused during the build process 2022-10-24 18:32:57 +00:00
3db342e897 tools: only unset filter-lines if it is not set 2022-10-23 20:07:26 +02:00
2d807e3ca5 tools: Add prefix messages that tell us where we're at in a build, inspired by SerenityOS :) 2022-10-23 20:03:29 +02:00
fb0fc29087 Adjust install-built-ports.sh 2022-10-23 19:27:34 +02:00
1a82bbb234 ports: Add a port system
The only port right now is bc, which works... kind of.
It compiles, and runs, but is really janky. At least it runs!!
2022-10-23 16:44:50 +02:00
7d71bd192d Tools: Add a fast-run.sh script which does not build, only run 2022-10-20 18:48:25 +02:00
d62eb6c791 Tests: Add test framework 2022-10-16 15:31:58 +02:00
8daffa876c Make some shell scripts executable 2022-10-12 14:31:50 +02:00
1e0c8c5fe7 Kernel: Strip kernel symbols when installing
Since we already extract the symbols into a separate file which the kernel then uses for backtraces, this only brings us a smaller kernel, with no downsides :)
2022-10-08 15:57:07 +02:00
4a212b4c92 Modify shebangs to use /usr/bin/env bash instead of /bin/sh 2022-10-08 15:35:39 +02:00
aa5c1be945 Separate building a debug image and running it, and provide a script for GDB. 2022-10-08 15:32:48 +02:00
ee31a3458d Fix setup-binutils and setup-gcc 2022-10-02 19:58:52 +02:00
6bacded5cf Update build system 2022-10-02 17:01:30 +02:00
e483f6d1e6 Adjust build scripts to install LibC headers 2022-10-02 12:47:50 +02:00
ba52e389a5 Hosted GCC cross-compiler for x86_64-luna!!! 2022-10-02 12:21:02 +02:00
85d4268b01 Hosted Binutils for x86_64-luna 2022-10-02 10:33:34 +02:00
fcf5923cc0 WIP: Add a C Library, let's try to compile a Hosted GCC cross-compiler using this! 2022-10-01 20:59:22 +02:00
d79596f21b Add a tool to auto-generate a symbol map, borrowed from SerenityOS :) 2022-09-19 20:35:24 +02:00
07d1943053 add build-stable-iso.sh 2022-09-10 18:09:33 +02:00
0cc3900e88 Make building with debug symbols conditional in the Makefile 2022-09-07 15:05:57 +02:00
1820286d8b stuff 2022-09-07 10:33:22 +02:00
86e53c3004 Added rebuild*.sh scripts 2022-09-06 18:27:24 +02:00
bd0a24097f Add a KernelMemoryManager namespace to wrap PMM + VMM 2022-09-06 18:08:15 +02:00
1b727a66ea Ready. Set. Go! 2022-09-05 16:13:51 +02:00