Changeset 3f06eb5 for prologue/hostreqs.xml
- Timestamp:
- 03/02/2012 04:41:39 PM (13 years ago)
- Branches:
- 7.1
- Children:
- 8476b9e1
- Parents:
- 496c887
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prologue/hostreqs.xml
r496c887 r3f06eb5 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.