diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-01-06 21:43:31 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-01-06 21:43:31 +0000 |
commit | 54d3ed5dbf1cae144b61fd8b9da2b97121de407e (patch) | |
tree | 3f0ccaf2a051b8c9bd67420b3889187602695799 /prologue | |
parent | fae09b2f4f609b4d8dcbcb98f9d98c33e66d5497 (diff) |
Change to simple glibc version check in version-check.sh.
Change to php script for 'Get Counted'.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9698 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue')
-rw-r--r-- | prologue/hostreqs.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index 751bc9525..5961b773a 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -157,20 +157,23 @@ bash --version | head -n1 | cut -d" " -f2-4 echo "/bin/sh -> `readlink -f /bin/sh`" echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- bison --version | head -n1 + if [ -e /usr/bin/yacc ]; then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; else echo "yacc not found"; fi + bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 diff --version | head -n1 find --version | head -n1 gawk --version | head -n1 + if [ -e /usr/bin/awk ]; then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; else echo "awk not found"; fi + gcc --version | head -n1 -libcLib="`find /lib /lib64 -name libc.so.6 -print`" -/${libcLib} | head -n1 | cut -d"," -f1 +ldd --version | head -n1 | cut -d" " -f2- # glibc version grep --version | head -n1 gzip --version | head -n1 cat /proc/version @@ -182,9 +185,10 @@ sed --version | head -n1 tar --version | head -n1 echo "Texinfo: `makeinfo --version | head -n1`" xz --version | head -n1 + echo 'main(){}' > dummy.c && gcc -o dummy dummy.c -if [ -x dummy ]; then echo "Compilation OK"; - else echo "Compilation failed"; fi +if [ -x dummy ]; then echo "gcc compilation OK"; + else echo "gcc compilation failed"; fi rm -f dummy.c dummy </literal> EOF |