README: Add packages required by compilation in pacman

This commit is contained in:
Bananymous 2023-12-29 03:10:22 +02:00
parent 9fafafb17e
commit 51820b15cb
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ Each major component and library has its own subdirectory (kernel, userspace, li
#### apt (tested on ubuntu 22.04)
```# apt install build-essential git ninja-build texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev parted qemu-system-x86```
#### pacman
```# pacman -S --needed base-devel git wget cmake ninja parted qemu-system-x86```
> ***NOTE:*** You need cmake version of atleast 2.26. If you are using cmake that is not found from PATH, you can set the CMAKE\_COMMAND environment variable to point to the correct cmake binary. Or you can let build script download correct version of cmake if you don't have one.
When you clone this reposity, make sure to also clone submodules. This can be done by cloning with the command ```git clone --recurse-submodules https://git.bananymous.com/bananymous/banan-os.git``` or if you have already cloned this repo, run ```git submodule init && git submodule update```.