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]

Re: Libobjc and libffi on Darwin



On 14/08/2004, at 11:17 AM, James E Wilson wrote:
Bill Northcott wrote:
ffi.h never got installed. ffitarget.h was installed in the compiler includes directory. Any suggestions where this should be fixed?

Maybe you are looking in the wrong place? ffi.h gets installed in a different place than ffitarget.h.


If it really wasn't installed, then look at the Makefile in the $target/libffi/include directory. There should be an install rule for the ffi.h file. Works backwards from there to figure out why it wasn't called.


Thanks for the comments. I got it fixed by patching build-gcc thus: Index: build_gcc =================================================================== RCS file: /cvsroot/gcc/gcc/Attic/build_gcc,v retrieving revision 1.1.2.9 diff -c -c -r1.1.2.9 build_gcc *** build_gcc 6 Aug 2004 20:15:31 -0000 1.1.2.9 --- build_gcc 12 Aug 2004 07:23:42 -0000 *************** *** 289,294 **** --- 289,297 ---- # include HEADERPATH=$DEST_ROOT/include/gcc/darwin/$MAJ_VERS mkdir -p .$HEADERPATH || exit 1 + # fudge for odd headers not really gcc like ffi.h + cp -p $DIR/dst-$BUILD-$BUILD/$DEST_ROOT/include/*.h \ + .$DEST_ROOT/include cp -rp $DIR/dst-$BUILD-$BUILD$HEADERPATH/c++ \ .$HEADERPATH/ || exit 1 for t in $TARGETS ; do

Bill Northcott


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