Scripts to build multilib Linux From Scratch (based on CLFS and LFS)
-
Create
cross-tools
andlfs
dir.sudo mkdir -p /mnt/lfs sudo mkdir -p /mnt/lfs/cross-tools sudo mkdir -p /mnt/lfs/tools sudo ln -sv /mnt/lfs/tools / sudo ln -sv /mnt/lfs/cross-tools /
-
Run ./fetch-sources to download all needed sources
./fetch-sources
-
create $LFS directory (
/mnt/lfs
is default, you can change it inbuild-properties
)sudo mkdir -v /mnt/lfs
-
create
$LFS/tools
and symlink it to root directory (/)sudo mkdir -v /mnt/lfs/tools sudo ln -sv /mnt/lfs/tools /
-
change perm/owner of
/mnt/lfs/tools
to your user (changeemmett
to your user)sudo chown -v emmett:emmett /mnt/lfs/tools
-
run ./strap to build the toolchain
./strap