From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23143 invoked by alias); 14 Aug 2004 02:11:47 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 23133 invoked from network); 14 Aug 2004 02:11:45 -0000 Received: from unknown (HELO smtp3.adl2.internode.on.net) (203.16.214.203) by sourceware.org with SMTP; 14 Aug 2004 02:11:45 -0000 Received: from [10.0.1.106] (eth403.nsw.adsl.internode.on.net [150.101.204.146]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i7E2BgHY033954; Sat, 14 Aug 2004 11:41:42 +0930 (CST) In-Reply-To: <411D680D.8060604@specifixinc.com> References: <411D680D.8060604@specifixinc.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4517FDBE-ED97-11D8-8B8E-000393D3D676@unsw.edu.au> Content-Transfer-Encoding: 7bit Cc: gcc@gcc.gnu.org From: Bill Northcott Subject: Re: Libobjc and libffi on Darwin Date: Sat, 14 Aug 2004 02:15:00 -0000 To: James E Wilson X-SW-Source: 2004-08/txt/msg00598.txt.bz2 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