Changeset 8a43782 for BOOK/boot/common


Ignore:
Timestamp:
Oct 8, 2014, 5:21:48 PM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
aa3ab0e
Parents:
68f83ab
git-author:
William Harrington <kb0iic@…> (10/08/14 17:21:34)
git-committer:
William Harrington <kb0iic@…> (10/08/14 17:21:48)
Message:

Add --enable-subordinate-ids=no during configure and echo '#define ENABLE_SUBIDS 1' to config.h after configure for proper cross compiling. Thanks to blackadder. Ticket 972.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/shadow.xml

    r68f83ab r8a43782  
    4545
    4646<screen os="f"><userinput>./configure --prefix=/tools \
    47     --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
     47    --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache \
     48    --enable-subordinate-ids=no</userinput></screen>
    4849
    49     <para os="g">Compile the package:</para>
     50    <variablelist os="g">
     51      <title>The meaning of the configure options:</title>
    5052
    51 <screen os="h"><userinput>make</userinput></screen>
     53      <varlistentry os="h">
     54        <term><parameter>--enable-subordinate-ids=no</parameter></term>
     55        <listitem>
     56          <para>Disable subordinate ids option during cross-compile.</para>
     57        </listitem>
     58      </varlistentry>
    5259
    53     <para os="i">Install the package:</para>
     60    </variablelist>
    5461
    55 <screen os="j"><userinput>make install</userinput></screen>
     62    <para os="i">Append <filename>config.h></filename> since a test program
     63    will not be ran when cross-compiling.</para>
     64
     65<screen os="j"><userinput>echo "#define ENABLE_SUBUIDS 1" &gt;&gt; config.h</userinput></screen>
     66
     67    <para os="k">Compile the package:</para>
     68
     69<screen os="l"><userinput>make</userinput></screen>
     70
     71    <para os="m">Install the package:</para>
     72
     73<screen os="n"><userinput>make install</userinput></screen>
    5674
    5775  </sect2>
Note: See TracChangeset for help on using the changeset viewer.