Changeset 1fedb6d in clfs-sysroot for BOOK


Ignore:
Timestamp:
Jun 16, 2006, 4:58:39 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
9748f02
Parents:
795a4b8
Message:

r3943@server (orig r1772): jciccone | 2006-06-16 15:32:03 -0700
Added information about cross-compiling perl.

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/arm-chapter.xml

    r795a4b8 r1fedb6d  
    2525  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sed.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/libtool.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/perl.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/perl.xml"/>
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/readline.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
  • BOOK/final-system/common/perl.xml

    r795a4b8 r1fedb6d  
    2626    <title>Installation of Perl</title>
    2727
    28     <important os="w1"><para>Information on cross-compiling perl has not been added yet.</para></important>
    29 
    30     <para os="a00">Before starting to configure, create a basic
    31     <filename>/etc/hosts</filename> file which will be referenced in one
    32     of Perl's configuration files as well as being used used by the testsuite
    33     if you run that.</para>
    34 
    35 <screen os="a01"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    36 
    37     <para os="a">To have full control over the way Perl is set up, run the
    38     interactive <command>Configure</command> script and hand-pick the way
    39     this package is built. If the defaults it auto-detects are suitable,
    40     prepare Perl for compilation with:</para>
    41 
    42 <screen os="b"><userinput>./configure.gnu --prefix=/usr \
    43    -Dman1dir=/usr/share/man/man1 \
    44    -Dman3dir=/usr/share/man/man3 \
    45    -Dpager="/bin/less -isR"</userinput></screen>
    46 
    47     <variablelist os="c">
    48       <title>The meaning of the configure option:</title>
    49 
    50       <varlistentry os="c1">
    51         <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
    52         <listitem>
    53           <para>This corrects an error in the way that <command>perldoc</command>
    54           invokes the <command>less</command> program.</para>
    55         </listitem>
    56       </varlistentry>
    57       <varlistentry os="c2">
    58         <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term>
    59         <listitem>
    60           <para>Since Groff is not installed yet,
    61           <command>configure.gnu</command> thinks that we do not want
    62           man pages for Perl. Issuing these parameters overrides this decision.</para>
    63         </listitem>
    64       </varlistentry>
    65     </variablelist>
    66 
    67     <para os="d">Compile the package:</para>
    68 
    69 <screen os="e"><userinput>make</userinput></screen>
    70 
    71     <para os="h">To test the results, issue:
    72     <userinput>make test</userinput>.</para>
    73 
    74     <para os="j">Install the package:</para>
    75 
    76 <screen os="k"><userinput>make install</userinput></screen>
     28    <para os="p1">The following patch fixes issues with perl and
     29    cross-compiling:</para>
     30
     31<screen os="p2"><userinput>patch -Np1 -i ../&perl-cross_compile-patch;</userinput></screen>
     32
     33    <para os="a">The Cross directory contains a Makefile for cross-compiling.</para>
     34
     35<screen os="b"><userinput>cd Cross</userinput></screen>
     36
     37    <para os="c">Compile the package:</para>
     38
     39<screen os="d"><userinput>make ARCH= CROSS_COMPILE="${LFS_TARGET}-"</userinput></screen>
     40
     41    <para os="e">Install the package:</para>
     42
     43<screen os="f"><userinput>make DESTDIR=${LFS} install</userinput></screen>
    7744
    7845  </sect2>
  • BOOK/general.ent

    r795a4b8 r1fedb6d  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22
    3 <!ENTITY version "SVN-20060615">
     3<!ENTITY version "SVN-20060616">
    44<!ENTITY version-ARM "&version;-ARM">
    55
    6 <!ENTITY releasedate "June 15, 2006">
     6<!ENTITY releasedate "June 16, 2006">
    77<!ENTITY milestone "0.2">
    88<!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
  • BOOK/introduction/common/changelog.xml

    r795a4b8 r1fedb6d  
    3636    </listitem>
    3737-->
     38
     39    <listitem>
     40      <para>June 16, 2006</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Added informations about cross-compiling perl.</para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
    3847
    3948    <listitem>
  • BOOK/patches.ent

    r795a4b8 r1fedb6d  
    7373<!ENTITY mktemp-tempfile-patch-size "3.6 KB">
    7474
     75<!ENTITY perl-cross_compile-patch "perl-&perl-version;-cross_compile-1.patch">
     76<!ENTITY perl-cross_compile-patch-md5 "4af9ce7235726b0a22ed1a1e42d249e1">
     77<!ENTITY perl-cross_compile-patch-size "76 KB">
     78
    7579<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-3.patch">
    7680<!ENTITY readline-fixes-patch-md5 "e30963cd5c6f6a11a23344af36cfa38c">
Note: See TracChangeset for help on using the changeset viewer.