Commit Graph

59 Commits

Author SHA1 Message Date
cbf061d18f
Make build-debug.sh also add debug symbols to luna 2022-12-07 14:32:07 +01:00
f767d98037
Please work 2022-12-05 19:07:01 +01:00
999d90d588
Update check-formatting.sh 2022-12-05 19:02:23 +01:00
c7ab6bc2d3
Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
a0c4bbe6f3 Make sure to clean CMake cache when rebuilding 2022-12-04 11:55:47 +01:00
5d9c50eb12 Make build-debug.sh work 2022-12-04 10:27:25 +01:00
bbc5470ae4 Update symlink location 2022-12-03 17:39:22 +01:00
e440df58c9 cleanup: remove unused scripts 2022-12-03 17:37:12 +01:00
505dde35ac Make GDB source .gdbconf relative to the root directory 2022-12-03 17:34:36 +01:00
dcd5a82073 Make GDB use the correct kernel file 2022-12-03 17:34:14 +01:00
88681bdc74 Default to ninja 2022-11-23 19:01:28 +01:00
3b2dc5db55 PlacementNew.h: Use Types.h 2022-11-23 17:22:16 +01:00
46cad14052 Print "All files OK" when all files are using correct types 2022-11-20 18:57:22 +01:00
f982152caa Add a script to manually check files with stdint.h types 2022-11-20 18:54:39 +01:00
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