lfs-buildscripts/CH0506-Master.sh

27 lines
456 B
Bash
Raw Normal View History

2024-10-03 09:12:06 +08:00
#!/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