Changeset 073be62 for BOOK/temp-system/common
- Timestamp:
- Feb 21, 2006, 1:51:03 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e629d35
- Parents:
- 103e3eb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/perl.xml
r103e3eb r073be62 67 67 make clean</userinput></screen> 68 68 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 75 70 cross-tools we have created:</para> 76 71 77 <screen os=" m"><userinput>cp config.sh{,.orig}72 <screen os="k"><userinput>cp config.sh{,.orig} 78 73 sed -e "s@\(^ar=\).*@\1'${AR}'@g" \ 79 74 -e "s@\(^ranlib=\).*@\1'${RANLIB}'@g" \ … … 81 76 -e "s@\(^ld=\).*@\1'${CC} ${BUILD32}'@g" config.sh.orig > config.sh</userinput></screen> 82 77 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> 84 79 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} 85 sed -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 86 90 make perl utilities</userinput></screen> 87 91 88 <para os=" p">Install these tools and their libraries:</para>92 <para os="r">Install these tools and their libraries:</para> 89 93 90 <screen os=" q"><userinput>cp perl pod/pod2man /tools/bin94 <screen os="s"><userinput>cp perl pod/pod2man /tools/bin 91 95 install -d /tools/lib/perl5/&perl-version; 92 96 cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.