Changeset 073be62


Ignore:
Timestamp:
Feb 21, 2006, 1:51:03 AM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e629d35
Parents:
103e3eb
Message:

r944@server (orig r942): jim | 2005-12-20 07:50:56 -0800

r1156@server: jim | 2005-12-20 07:50:39 -0800
Fixed perl temp-system


Location:
BOOK/temp-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/64/perl.xml

    r103e3eb r073be62  
    6161    xpointer="xpointer(//*[@os='j'])"/>
    6262
    63     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    64     href="../common/perl.xml"
    65     xpointer="xpointer(//*[@os='l'])"/>
    66 
    67 <screen os="m"><userinput>cp config.sh{,.orig}
     63<screen os="k"><userinput>cp config.sh{,.orig}
    6864sed -e "s@\(^ar=\).*@\1'${AR}'@g" \
    6965    -e "s@\(^ranlib=\).*@\1'${RANLIB}'@g" \
     
    7369    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7470    href="../common/perl.xml"
    75     xpointer="xpointer(//*[@os='n'])"/>
     71    xpointer="xpointer(//*[@os='l'])"/>
     72
     73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     74    href="../common/perl.xml"
     75    xpointer="xpointer(//*[@os='m'])"/>
    7676
    7777    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8585    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8686    href="../common/perl.xml"
    87     xpointer="xpointer(//*[@os='q'])"/>
     87    xpointer="xpointer(//*[@os='r'])"/>
     88
     89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     90    href="../common/perl.xml"
     91    xpointer="xpointer(//*[@os='s'])"/>
    8892
    8993  </sect2>
  • BOOK/temp-system/common/perl.xml

    r103e3eb r073be62  
    6767make clean</userinput></screen>
    6868
    69     <para os="j">We will now edit the main Makefile to use our newly created miniperl-cross:</para>
    70 
    71 <screen os="k"><userinput>cp Makefile{,.orig}
    72 sed -e 's|(LDLIBPTH) ./miniperl|(LDLIBPTH) ./miniperl-cross|g' Makefile.orig > Makefile</userinput></screen>
    73 
    74    <para os="l">We will now make perl cross-compile friendly by forcing it to use our
     69   <para os="j">We will now make perl cross-compile friendly by forcing it to use our
    7570   cross-tools we have created:</para>
    7671
    77 <screen os="m"><userinput>cp config.sh{,.orig}
     72<screen os="k"><userinput>cp config.sh{,.orig}
    7873sed -e "s@\(^ar=\).*@\1'${AR}'@g" \
    7974    -e "s@\(^ranlib=\).*@\1'${RANLIB}'@g" \
     
    8176    -e "s@\(^ld=\).*@\1'${CC} ${BUILD32}'@g" config.sh.orig > config.sh</userinput></screen>
    8277
    83   <para os="n">Now we are ready to make our cross-compiled perl:</para>
     78<para os="l">Now we will make miniperl for our architecture:</para>
    8479
    85 <screen os="o"><userinput>make miniperl
     80<screen os="m"><userinput>make miniperl</userinput></screen>
     81
     82    <para os="n">We will now edit the main Makefile to use our newly created miniperl-cross:</para>
     83
     84<screen os="o"><userinput>cp Makefile{,.orig}
     85sed -e 's|(LDLIBPTH) ./miniperl|(LDLIBPTH) ./miniperl-cross|g' Makefile.orig > Makefile</userinput></screen>
     86
     87  <para os="p">Now we are ready to make our cross-compiled perl:</para>
     88
     89<screen os="q"><userinput>make miniperl
    8690make perl utilities</userinput></screen>
    8791
    88     <para os="p">Install these tools and their libraries:</para>
     92    <para os="r">Install these tools and their libraries:</para>
    8993
    90 <screen os="q"><userinput>cp perl pod/pod2man /tools/bin
     94<screen os="s"><userinput>cp perl pod/pod2man /tools/bin
    9195install -d /tools/lib/perl5/&perl-version;
    9296cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.