Changeset 73fdcb6
- Timestamp:
- Feb 21, 2006, 9:51:03 AM (19 years ago)
- Children:
- 73b79203
- Parents:
- 982abb8
- Location:
- temp-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
temp-system/64/perl.xml
r982abb8 r73fdcb6 61 61 xpointer="xpointer(//*[@os='j'])"/> 62 62 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} 68 64 sed -e "s@\(^ar=\).*@\1'${AR}'@g" \ 69 65 -e "s@\(^ranlib=\).*@\1'${RANLIB}'@g" \ … … 73 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 74 70 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'])"/> 76 76 77 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 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'])"/> 88 92 89 93 </sect2> -
temp-system/common/perl.xml
r982abb8 r73fdcb6 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.