This is the mail archive of the 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: Patch for bug 25938 (libgomp headers installed in wrong directory)

Joseph S. Myers wrote:
This patch fixes bug 25938, incorrect installation of libgomp headers
in a directory not depending on the version or target, by installing
them in libsubdir instead.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to

2006-08-25 Joseph S. Myers <>

	* (libsubincludedir): New.
	(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
	* Regenerate.

--- (revision 116436)
+++ (working copy)
@@ -10,6 +10,7 @@
search_path = $(addprefix $(top_srcdir)/config/, $(config_path)) $(top_srcdir)
fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/finclude
+libsubincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
Should this unconditionally go in the $(target_alias) directory?

For libgcj and libstdc++ it seems the headers are not in the $(target_alias) for a native build, only for cross builds.

See the patch for PR libgcj/28426 for example.

David Daney

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