Self-hosting status
This issue will cover the self-hosting status of Redox OS.
Self-hosting in the low-level world is when the operating system can build itself (compile Redox on Redox), to achieve this the toolchain and tools needs to run on it.
Build Redox on Redox
-
rustc -
cargo - close to work, some deadlocks remain. -
gcc -
llvm -
make -
git - included by default -
curl - included by default
Build all recipes
-
autopoint? -
bash - included by default -
bison -
cmake -
wget -
file -
flex -
gperf -
libexpat -
libfuse -
libgmp -
libpng -
libjpeg -
sdl1.2 -
sdl2-ttf -
html-parser-perl -
libtool -
m4 -
nasm -
patch -
automake -
autoconf -
scons -
pkg-config -
po4a -
texinfo -
ninja-build -
meson -
python3 -
python3-mako -
xdg-utils -
vim - included by default -
perl -
doxygen
bootstrap.sh
Once all recipes are ported the Redox package manager function and command must be added on the script.
We can do this before the fully porting by adding the Redox OS functions and command as a comment.
- A function to detect if the OS is Redox.
- A function to detect what is installed.
Package manager command
# sudo pkg install rust \
# cargo \
# gcc \
# llvm \
# gnu-make \
# bison \
# cmake \
# wget \
# file \
# flex \
# gperf \
# expat \
# libgmp \
# libpng \
# libjpeg \
# sdl \
# sdl2_ttf \
# html-parser-perl \
# libtool \
# m4 \
# nasm \
# patch \
# automake \
# autoconf \
# scons \
# pkg-config \
# po4a \
# texinfo \
# ninja-build \
# meson \
# python \
# python3-mako \
# xdg-utils \
# vim \
# perl \
# doxygen \