Changeset b8b65b7 for chapter06/libffi.xml
- Timestamp:
- 07/07/2018 05:48:11 PM (6 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- d47b15b
- Parents:
- e6035d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/libffi.xml
re6035d6 rb8b65b7 56 56 <para>Prepare libffi for compilation:</para> 57 57 58 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen> 58 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static --with-gcc-arch=native</userinput></screen> 59 60 <variablelist> 61 <title>The meaning of the configure option:</title> 62 63 <varlistentry> 64 <term><parameter>--with-gcc-arch=native</parameter></term> 65 <listitem> 66 <para>Ensure gcc optimizes for the current system. If this 67 is not specified, the system is guessed and the code generated 68 may not be correct for some systems. If the generated code 69 will be copied from the native system to a less capable 70 system, use the less capable system as a parameter. For details 71 about alternative system types, see <ulink 72 url='https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/x86-Options.html'> 73 the x86 options in the gcc manual</ulink>.</para> 74 </listitem> 75 </varlistentry> 76 77 </variablelist> 59 78 60 79 <para>Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.