Ignore:
Timestamp:
Feb 21, 2006, 1:51:03 AM (19 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


File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.