Changeset 8583

Show
Ignore:
Timestamp:
10/05/08 17:13:55 (2 months ago)
Author:
bdubbs
Message:

Add note about symlink reqt in Host Requirements
Add simple compilation check in Host Requirements

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/prologue/hostreqs.xml

    r8564 r8583  
    2323    <listitem> 
    2424      <para><emphasis role="strong">Bash-2.05a</emphasis> (/bin/sh 
    25       must be a symbolic or hard link to bash)</para> 
     25      should be a symbolic or hard link to bash)</para> 
    2626    </listitem> 
    2727 
     
    3434    <listitem> 
    3535      <para><emphasis role="strong">Bison-1.875</emphasis> (/usr/bin/yacc 
    36       must be a link to bison or small script that executes bison)</para> 
     36      should be a link to bison or small script that executes bison)</para> 
    3737    </listitem> 
    3838 
     
    5656    <listitem> 
    5757      <para><emphasis role="strong">Gawk-3.0</emphasis> (/usr/bin/awk 
    58       must be a link to gawk)</para> 
     58      should be a link to gawk)</para> 
    5959    </listitem> 
    6060 
     
    129129  </itemizedlist> 
    130130 
    131   <para>To see whether your host system has all the appropriate versions, run the following:</para> 
     131  <para>Note that the symlinks mentioned above are required to build an LFS 
     132  system using the instructions contained within this book. Symlinks that 
     133  point to other software (such as dash, mawk, etc.) may work, but are not 
     134  tested or supported by the LFS development team, and may require either 
     135  deviation from the instructions or additional patches to some 
     136  packages.</para> 
     137 
     138  <para>To see whether your host system has all the appropriate versions, and 
     139  ability to compile programs, run 
     140  the following:</para> 
    132141 
    133142<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF" 
     
    161170tar --version | head -n1 
    162171makeinfo --version | head -n1 
     172echo 'main(){}' > dummy.c &amp;&amp; gcc -o dummy dummy.c 
     173if [ -x dummy ]; then echo "Compilation OK"; else echo "Compilation failed"; fi 
     174rm -f dummy.c dummy 
    163175</literal> 
    164176EOF