Bootstrap
Both Arch and Fedora Linux can be used to bootstrap glaucus.
It is recommended to have 4 GB of memory and 16 GB of storage space to bootstrap glaucus.
Requirements
- autoconf (requries GNU m4, and perl to run autom4te on tests/wrapper.in)
- automake
- bash
- bc ?? (mussel)
- binutils
- byacc (or bison)
- bzip2 ?? (mussel)
- coreutils (or toybox)
- diffutils
- elfutils ??
- findutils
- flex ??
- g++
- gawk ?? (mussel)
- gcc
- gdbm ??
- gettext-tiny
- git
- grep
- groff ??
- grub
- gzip ?? (mussel)
- help2man (requires perl as build time dependency, requires perl-locale-gettext?) (required for libtool in cross)
- hostname (or inetutils required by autoconf and libtool)
- ldconfig (gcc)
- libarchive (gcc requires tar for the make target “install-headers-tar”)
- libcap (requires bash inside progs/mkcapshdoc.sh)
- libtool
- m4
- make
- makeinfo (binutils)
- meson/muon (required by muon to cross compile it on a glibc host) (muon does not support cross compilation)
- patch (requires automake as build-time dependency)
- perl / pod2man (gcc)
- pkgconf
- pod2man (required for manual pages)
- procps-ng (requires autopoint from gettext-tiny and autoconf and automake for autogen.sh)
- psmisc (requires autopoint from gettext-tiny and autoconf and automake for autogen.sh)
- rsync
- sed
- texinfo
- toybox (requires bash for scripts/genconfig.sh and tests)
- wget2
- xz ?? (mussel)
- zlib-ng (or zlib) (requires bash for configure script, this can be patched easily)
- zstd
Time
The time required to bootstrap glaucus is measured in Build Units (BUs).
Building binutils
takes 1 Build Unit, which is approximately 1 minute on my machine.
Building Stage 1 (the toolchain) takes 30 BUs.
Building Stage 2 (cross glaucus) takes 45 BUs.
Building Stage 3 (native glaucus) takes 90 BUs.