[Ecls-list] libffi on gentoo (x86_64)

Pascal J. Bourguignon pjb at informatimago.com
Tue Jul 6 01:25:49 UTC 2010


Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:

> On Sun, Jul 4, 2010 at 4:23 AM, Pascal J. Bourguignon <pjb at informatimago.com>
> wrote:
>
>     On debian lenny, libffi-dev installs the headers ffi.h and ffi_call.h in:
>       /usr/include/i486-linux-gnu/
>     ecl/configure searches them in /usr/include/ffi/ffi.h
>     For now, I'm adding a symlink, but I guess you'll want to try:   #include <ffi.h>
>
> I have added a configuration test to determine whether ffi.h resides in /usr/include or /usr/include/ffi/

For information, on gentoo (x86_64), libffi is installed as follow,
with the header in /usr/lib64/libffi-3.0.9/include/ffi.h


[pjb at kuiper :0.0 tools]$ fpm list-files libffi
 * Searching for libffi ...
 * Contents of dev-libs/libffi-3.0.9:
/usr
/usr/lib64
/usr/lib64/libffi-3.0.9
/usr/lib64/libffi-3.0.9/include
/usr/lib64/libffi-3.0.9/include/ffi.h
/usr/lib64/libffi-3.0.9/include/ffitarget.h
/usr/lib64/libffi.la
/usr/lib64/libffi.so -> libffi.so.5.0.10
/usr/lib64/libffi.so.5 -> libffi.so.5.0.10
/usr/lib64/libffi.so.5.0.10
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libffi.pc
/usr/share
/usr/share/doc
/usr/share/doc/libffi-3.0.9
/usr/share/doc/libffi-3.0.9/ChangeLog.bz2
/usr/share/doc/libffi-3.0.9/ChangeLog.libffi.bz2
/usr/share/doc/libffi-3.0.9/ChangeLog.libgcj.bz2
/usr/share/doc/libffi-3.0.9/ChangeLog.v1.bz2
/usr/share/doc/libffi-3.0.9/README.bz2
/usr/share/info
/usr/share/info/libffi.info.bz2
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/ffi.3.bz2
/usr/share/man/man3/ffi_call.3.bz2
/usr/share/man/man3/ffi_prep_cif.3.bz2


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/





More information about the ecl-devel mailing list