Changeset 948307e for final-system/multilib
- Timestamp:
- Jul 29, 2006, 3:47:06 PM (18 years ago)
- Children:
- b6fe857
- Parents:
- cf0287c
- Location:
- final-system/multilib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/multilib/libtool-n32.xml
rcf0287c r948307e 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" -
final-system/multilib/libtool.xml
rcf0287c r948307e 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"
Note:
See TracChangeset
for help on using the changeset viewer.