Changeset e9c46b3


Ignore:
Timestamp:
12/07/2022 05:10:58 PM (17 months ago)
Author:
David Bryant <davidbryant@…>
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
Message:

Add more details to the descriptiion of what this package does.
Correct capitalizatiom throughout, and tweak English idiom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libffi.xml

    r8f10e6fa re9c46b3  
    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.