start of toolchain build script

This commit is contained in:
YellowJacketLinux 2024-10-02 18:12:06 -07:00
parent c497d359fd
commit 51d3f07c95

26
CH0506-Master.sh Normal file
View File

@ -0,0 +1,26 @@
#!/bin/bash
# compiles the toolchain components
/bin/bash CH05.01-binutils-pass1.sh
if [ $? -ne 0 ]; then
echo "failed CH05.01-binutils-pass1.sh"
exit 1
else
echo "LFS Chapter 5 binutils Pass 1 complete"
sleep 3
fi
/bin/bash CH05.02-gcc-pass1.sh
if [ $? -ne 0 ]; then
echo "failed CH05.02-gcc-pass1.sh"
exit 1
else
echo "LFS Chapter 5 GCC Pass 1 complete"
# warms up the CPU
sleep 60
fi
# If works, start over to see if ada,d build