- Timestamp:
- 02/24/2012 06:44:37 PM (12 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6d6a2f0
- Parents:
- c8f269c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prologue/hostreqs.xml
rc8f269c r5dcff99 147 147 the ability to compile programs, run the following:</para> 148 148 149 <!-- <anchor xreflabel="Version Check Script" id="version-check"/>-->149 <!-- ANY additional lines in the script cause a pdf rendering problem--> 150 150 <screen role="nodump"><userinput>cat > version-check.sh << "EOF" 151 151 <literal>#!/bin/bash 152 export LC_ALL=C153 154 152 # Simple script to list version numbers of critical development tools 155 153 154 export LC_ALL=C 156 155 bash --version | head -n1 | cut -d" " -f2-4 157 156 echo "/bin/sh -> `readlink -f /bin/sh`" 158 157 echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- 159 158 bison --version | head -n1 160 161 159 if [ -e /usr/bin/yacc ]; 162 160 then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; … … 168 166 find --version | head -n1 169 167 gawk --version | head -n1 170 171 168 if [ -e /usr/bin/awk ]; 172 169 then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; … … 188 185 189 186 echo 'main(){}' > dummy.c && gcc -o dummy dummy.c 190 if [ -x dummy ]; then echo "gcc compilation OK"; 187 if [ -x dummy ] 188 then echo "gcc compilation OK"; 191 189 else echo "gcc compilation failed"; fi 192 rm -f dummy.c dummy 193 </literal> 190 rm -f dummy.c dummy</literal> 194 191 EOF 195 192
Note:
See TracChangeset
for help on using the changeset viewer.