Hi, On install, GCC copies ffitarget.h to <LIBDIR>/gcc/<TARGET>/<VERSION>/include/libffi/ffitarget.h However, ffi.h tries to #include <ffitarget.h>, and can't find it (no wonder). Correction: Either put ffitarget.h into <LIBDIR>/gcc/<TARGET>/<VERSION>/include, or change the line in ffi.h to #include <libffi/ffitarget.h>. This should be invariant of the platform; I just checked on x86_64. 4.0.1 should be affected as well.
-- Summary: ffitarget.h include problem Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: minor Priority: P2 Component: libffi AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bernd dot paysan at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23718