Ignore:
Timestamp:
Feb 21, 2006, 1:35:46 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
11ed0d6
Parents:
92bb2284
Message:

r847@server (orig r845): jim | 2005-12-06 00:07:39 -0800

r966@server: jim | 2005-12-06 00:06:05 -0800
Gettext update from LFS ported to Cross-LFS


File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp-system/common/gettext.xml

    r92bb2284 r2f83ef2  
    3030    <para os="c">Prepare Gettext for compilation:</para>
    3131
    32 <screen os="d"><userinput>./configure --prefix=/tools \
    33    --host=${LFS_TARGET} --disable-libasprintf \
    34    --without-csharp --cache-file=config.cache</userinput></screen>
     32<screen os="d"><userinput>cd gettext-tools
     33   ./configure --prefix=/tools \
     34   --host=${LFS_TARGET} --disable-shared \
     35   --cache-file=config.cache</userinput></screen>
    3536
    3637    <variablelist os="e">
     
    3839
    3940      <varlistentry os="e1">
    40         <term><parameter>--disable-libasprintf</parameter></term>
     41        <term><parameter>--disable-shared</parameter></term>
    4142        <listitem>
    42           <para>This flag tells Gettext not to build the <filename
    43           class="libraryfile">asprintf</filename> library. Because
    44           nothing in this chapter or the next requires this library
    45           and Gettext gets rebuilt later, exclude it to save time
    46           and space.</para>
    47         </listitem>
    48       </varlistentry>
    49 
    50       <varlistentry os="e2">
    51         <term><parameter>--without-csharp</parameter></term>
    52         <listitem>
    53           <para>This ensures that Gettext does not build support for the C#
    54           compiler which may be present on the host but will not be available
    55           when building the final system.</para>
     43          <para>This tells Gettext not to create a shared library.</para>
    5644        </listitem>
    5745      </varlistentry>
     
    6149    <para os="f">Compile the package:</para>
    6250
    63 <screen os="g"><userinput>make</userinput></screen>
     51<screen os="g"><userinput>make -C lib
     52make -C src msgfmt</userinput></screen>
    6453
    6554    <para os="h">Install the package:</para>
    6655
    67 <screen os="i"><userinput>make install</userinput></screen>
     56<screen os="i"><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
    6857
    6958  </sect2>
Note: See TracChangeset for help on using the changeset viewer.