%general-entities; ]> libffi &libffi-version;
&libffi-url;
Libffi-&libffi-version; libffi <para>The Libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&libffi-fin-sbu;</seg> <seg>&libffi-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Libffi Similar to GMP, libffi builds with optimizations specific to the processor in use. If building for another system, change the value of the --with-gcc-arch= parameter in the following command to an architecture name fully implemented by the CPU on that system. If this is not done, all applications that link to libffi will trigger Illegal Operation Errors. Prepare libffi for compilation: ./configure --prefix=/usr \ --disable-static \ --with-gcc-arch=native \ --disable-exec-static-tramp The meaning of the configure option: --with-gcc-arch=native Ensure GCC optimizes for the current system. If this is not specified, the system is guessed and the code generated may not be correct for some systems. If the generated code will be copied from the native system to a less capable system, use the less capable system as a parameter. For details about alternative system types, see the x86 options in the GCC manual. --disable-exec-static-tramp Disable static trampoline support. It's a new security feature in libffi, but some BLFS packages (notably GJS) have not been adapted for it. Compile the package: make To test the results, issue: make check Install the package: make install Contents of Libffi Installed library libffi.so Short Descriptions libffi contains the foreign function interface API functions libffi