Bug 23935

Summary: $PREFIX/include/ffi.h needs to go to a target- and -version-dependent location
Product: gcc Reporter: Gerald Pfeifer <gerald>
Component: libffiAssignee: David Daney <daney>
Status: RESOLVED FIXED    
Severity: normal CC: bernd.paysan, gcc-bugs, java-prs, tromey
Priority: P2    
Version: unknown   
Target Milestone: 4.2.0   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed: 2006-09-11 21:08:16
Bug Depends on:    
Bug Blocks: 346    

Description Gerald Pfeifer 2005-09-17 22:50:23 UTC
Currently ffi.h is installed into $PREFIX/include. 
 
This breaks cases where different versions of GCC, or copies of GCC for 
different targets are installed into the same $PREFIX.
Comment 1 David Daney 2006-09-12 16:51:59 UTC
Subject: Bug 23935

Author: daney
Date: Tue Sep 12 16:51:43 2006
New Revision: 116893

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116893
Log:
	PR libffi/23935
	* include/Makefile.am: Install both ffi.h and ffitarget.h in
	$(libdir)/gcc/$(target_alias)/$(gcc_version)/include.
	* aclocal.m4: Regenerated for automake 1.9.6.
	* Makefile.in: Regenerated.
	* include/Makefile.in: Regenerated.
	* testsuite/Makefile.in: Regenerated.

Modified:
    trunk/libffi/ChangeLog
    trunk/libffi/Makefile.in
    trunk/libffi/aclocal.m4
    trunk/libffi/include/Makefile.am
    trunk/libffi/include/Makefile.in
    trunk/libffi/testsuite/Makefile.in

Comment 2 David Daney 2006-09-12 16:54:50 UTC
Fixed by the patch I just committed.
Comment 3 David Daney 2007-08-10 08:17:59 UTC
*** Bug 23718 has been marked as a duplicate of this bug. ***