Changeset e9c46b3
- Timestamp:
- 12/07/2022 05:10:58 PM (17 months ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
- Children:
- 8e751f7
- Parents:
- 8f10e6fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libffi.xml
r8f10e6fa re9c46b3 27 27 interface to various calling conventions. This allows a programmer to call 28 28 any function specified by a call interface description at run time.</para> 29 30 <para>FFI stands for Foreign Function Interface. An FFI allows a program written 31 in one language to call a program written in another language. Specifically, 32 Libffi can provide a bridge between an interpreter like Perl, or Python, and 33 shared library subroutines written in C, or C++.</para> 29 34 30 35 <segmentedlist> … … 44 49 45 50 <note> 46 <para> Similar to GMP, libffi builds with optimizations specific51 <para>Like GMP, Libffi builds with optimizations specific 47 52 to the processor in use. If building for another system, change the 48 53 value of the <parameter>--with-gcc-arch=</parameter> parameter in the … … 53 58 </note> 54 59 55 <para>Prepare libffi for compilation:</para>60 <para>Prepare Libffi for compilation:</para> 56 61 57 62 <screen><userinput remap="configure">./configure --prefix=/usr \ … … 68 73 <para>Ensure GCC optimizes for the current system. If this 69 74 is not specified, the system is guessed and the code generated 70 may not be correct for some systems. If the generated code75 may not be correct. If the generated code 71 76 will be copied from the native system to a less capable 72 77 system, use the less capable system as a parameter. For details … … 81 86 <term><parameter>--disable-exec-static-tramp</parameter></term> 82 87 <listitem> 83 <para>Disable static trampoline support . It'sa new security84 feature in libffi, but some BLFS packages (notably88 <para>Disable static trampoline support, a new security 89 feature in Libffi. Some BLFS packages (notably 85 90 <application>GJS</application>) have not been adapted for it.</para> 86 91 </listitem> … … 122 127 <term><filename class="libraryfile">libffi</filename></term> 123 128 <listitem> 124 <para> contains the foreign function interface API functions</para>129 <para>Contains the foreign function interface API functions</para> 125 130 <indexterm zone="ch-system-libffi"> 126 131 <primary sortas="c-libffi">libffi</primary>
Note:
See TracChangeset
for help on using the changeset viewer.