Changeset d3a0268 for BOOK/final-system
- Timestamp:
- Jul 29, 2006, 3:47:06 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 06f2dec
- Parents:
- 7615f86
- Location:
- BOOK/final-system
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/multilib/libtool-n32.xml
r7615f86 rd3a0268 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href=" libtool.xml"33 href="../common/libtool.xml" 34 34 xpointer="xpointer(//*[@os='c'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href=" libtool.xml"37 href="../common/libtool.xml" 38 38 xpointer="xpointer(//*[@os='d'])"/> 39 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="libtool.xml" 42 xpointer="xpointer(//*[@os='e'])"/> 40 <para os="e">To test the results, identify the correct emulation, then issue: 41 <userinput>make LDEMULATION=[emulation] check</userinput>. The correct 42 emulation will be elf32btsmipn32 for a big-endian machine and elf32ltsmipn32 43 for a little-endian machine.</para> 43 44 44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/libtool.xml
r7615f86 rd3a0268 10 10 11 11 <title>Libtool-&libtool-version; 32 Bit Libraries</title> 12 13 <!-- with the introduction of an LDEMULATION on make check, to fix a test 14 failure which has appeared for unknown reasons, this text is now specific 15 to mips -o32. --> 12 16 13 17 <indexterm zone="ch-system-libtool-32"> … … 37 41 xpointer="xpointer(//*[@os='d'])"/> 38 42 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 href="../common/libtool.xml" 41 xpointer="xpointer(//*[@os='e'])"/> 43 <para os="e">To test the results, first identify whether you are on a big- or 44 little-endian machine. SGI machines are usually big-endian, Cobalt are 45 usually little-endian. If in doubt you can <command>echo ${MACHTYPE} | grep 'el-' 46 </command>- this will match a little-endian machine.</para> 47 48 <para os="e2">To test on a little-endian machine issue: 49 <userinput>make LDEMULATION=elf32ltsmip check</userinput>.</para> 50 51 <para os="e1">To test on a big-endian machine issue: 52 <userinput>make LDEMULATION=elf32btsmip check</userinput>.</para> 53 54 <variablelist os="c"> 55 <title>The meaning of the override on make check:</title> 56 57 <varlistentry> 58 <term><parameter>LDEMULATION=[emulation]</parameter></term> 59 <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 60 href="../ppc64/libtool.xml" 61 xpointer="xpointer(//*[@os='c2'])"/> --> 62 <listitem os="c2"> 63 <para>Libtool tends to do the wrong thing when building for multilib, 64 at least on the non-default size(s) of architecture. These causes of 65 these errors are not well understood and they can appear, or disappear, 66 as a result of apparently innocuous other changes in the build. In 67 this version of the book, one of the tests (pdemo-make) fails to link 68 because it tries to link the 32-bit objects against 64-bit system 69 libraries. This option enables the test to succeed without impacting 70 the other tests (compare the common alternative fixes of 71 <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests 72 to be executed, and configuring with 73 <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case 74 causes other tests to fail.)</para> 75 </listitem> 76 </varlistentry> 77 78 </variablelist> 42 79 43 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/ppc64/libtool.xml
r7615f86 rd3a0268 47 47 <varlistentry> 48 48 <term><parameter>LDEMULATION=elf32ppc</parameter></term> 49 <listitem os="c2"> 50 <para>Libtool tends to do the wrong thing when building for multilib, 51 at least on the non-default size(s) of architecture. These causes of 52 these errors are not well understood and they can appear, or disappear, 53 as a result of apparently innocuous other changes in the build. In 54 this version of the book, one of the tests (pdemo-make) fails to link 55 because it tries to link the 32-bit objects against 64-bit system 56 libraries. This option enables the test to succeed without impacting 57 the other tests (compare the common alternative fixes of 58 <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests 59 to be executed, and configuring with 60 <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case 61 causes other tests to fail.)</para> 62 </listitem> 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../multilib/libtool.xml" 51 xpointer="xpointer(//*[@os='c2'])"/> 63 52 </varlistentry> 64 53 -
BOOK/final-system/sparc64/libtool.xml
r7615f86 rd3a0268 48 48 <term><parameter>LDEMULATION=elf32_sparc</parameter></term> 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../ ppc64/libtool.xml"50 href="../multilib/libtool.xml" 51 51 xpointer="xpointer(//*[@os='c2'])"/> 52 52 </varlistentry> -
BOOK/final-system/x86_64/libtool.xml
r7615f86 rd3a0268 48 48 <term><parameter>LDEMULATION=elf_i386</parameter></term> 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../ ppc64/libtool.xml"50 href="../multilib/libtool.xml" 51 51 xpointer="xpointer(//*[@os='c2'])"/> 52 52 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.