This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Libffi header problem


I recently built a compiler from the tag apple-gcc-4020. MacOS X 10.3.6/Darwin 7.6

I modified the Apple build script so as to build libffi.

The ffitarget.h header file was installed in a subdirectory libffi of the compiler include directory.

ffi.h:63 reads
#include <ffitarget.h>
This will fail at compile time with a 'no such file or directory'.

It seems to me that either ffitarget.h should be installed in the compiler include directory or ffi.h:63 should be altered to read:
#include <libffi/ffitarget.h>


I made this latter change and everything worked correctly.

Bill Northcott


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]