Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/readline-n32.xml

    rdabbced re89c4c9  
    3636
    3737<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
    38    ./configure --prefix=/usr --libdir=/lib32</userinput></screen>
     38   ./configure --prefix=/usr --libdir=/lib32 \
     39    --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
    3940
    4041    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    6263    xpointer="xpointer(//*[@os='h'])"/>
    6364
    64     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    65     href="readline.xml"
    66     xpointer="xpointer(//*[@os='i'])"/>
     65<screen os="i"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    6766
    68     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    69     href="readline.xml"
    70     xpointer="xpointer(//*[@os='j'])"/>
     67    <para os="j">Next, relink the dynamic libraries into <filename class="directory">/usr/lib32</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib32</filename>.</para>
    7168
    72 <screen os="k"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    73 
    74     <para os="l">Next, remove the <filename class="extension">.so</filename>
    75     files in <filename class="directory">/lib32</filename> and relink them into
    76     <filename class="directory">/usr/lib32</filename>.</para>
    77 
    78 <screen os="m"><userinput>rm -v /lib32/lib{readline,history}.so
    79 ln -svf ../../lib32/libreadline.so.&readline-version2; /usr/lib32/libreadline.so
    80 ln -svf ../../lib32/libhistory.so.&readline-version2; /usr/lib32/libhistory.so</userinput></screen>
     69<screen os="k"><userinput>ln -svf ../../lib32/$(readlink /lib32/libreadline.so) /usr/lib32/libreadline.so
     70ln -svf ../../lib32/$(readlink /lib32/libhistory.so) /usr/lib32/libhistory.so
     71rm -v /lib32/lib{readline,history}.so</userinput></screen>
    8172
    8273  </sect2>
Note: See TracChangeset for help on using the changeset viewer.