Ignore:
Timestamp:
12/09/2022 07:53:16 AM (17 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
f16e611
Parents:
2ef64c4 (diff), 4640b37d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libffi.xml

    r2ef64c4 r524c5e3  
    2727    interface to various calling conventions. This allows a programmer to call
    2828    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>
    2934
    3035    <segmentedlist>
     
    4449
    4550    <note>
    46       <para>Similar to GMP, libffi builds with optimizations specific
     51      <para>Like GMP, Libffi builds with optimizations specific
    4752      to the processor in use. If building for another system, change the
    4853      value of the <parameter>--with-gcc-arch=</parameter> parameter in the
     
    5358    </note>
    5459
    55     <para>Prepare libffi for compilation:</para>
     60    <para>Prepare Libffi for compilation:</para>
    5661
    5762    <screen><userinput remap="configure">./configure --prefix=/usr          \
     
    6873          <para>Ensure GCC optimizes for the current system.  If this
    6974          is not specified, the system is guessed and the code generated
    70           may not be correct for some systems.  If the generated code
     75          may not be correct.  If the generated code
    7176          will be copied from the native system to a less capable
    7277          system, use the less capable system as a parameter. For details
     
    8186        <term><parameter>--disable-exec-static-tramp</parameter></term>
    8287        <listitem>
    83           <para>Disable static trampoline support.  It's a new security
    84           feature in libffi, but some BLFS packages (notably
     88          <para>Disable static trampoline support, a new security
     89          feature in Libffi. Some BLFS packages (notably
    8590          <application>GJS</application>) have not been adapted for it.</para>
    8691        </listitem>
     
    122127        <term><filename class="libraryfile">libffi</filename></term>
    123128        <listitem>
    124           <para>contains the foreign function interface API functions</para>
     129          <para>Contains the foreign function interface API functions</para>
    125130          <indexterm zone="ch-system-libffi">
    126131            <primary sortas="c-libffi">libffi</primary>
Note: See TracChangeset for help on using the changeset viewer.