public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.
@ 2011-04-28  2:02 Doug Kwan (關振德)
  2011-04-28  9:56 ` Paolo Carlini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Doug Kwan (關振德) @ 2011-04-28  2:02 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

Hi,

   This patch causes cxxabi_tweaks.h to be installed in freestanding
mode.  We need this because libsupc++ installs cxxabi.h, which
includes cxx_tweaks.h.

-Doug


2011-04-27  Doug Kwan  <dougkwan@google.com>

	* include/Makefile.am (install-freestanding-headers): Also install
	cxxabi_tweaks.h.
	* include/Makefile.in: Regnerate.

[-- Attachment #2: patch-cxxabi.txt --]
[-- Type: text/plain, Size: 1378 bytes --]

Index: libstdc++-v3/include/Makefile.in
===================================================================
--- libstdc++-v3/include/Makefile.in	(revision 173055)
+++ libstdc++-v3/include/Makefile.in	(working copy)
@@ -1584,6 +1584,7 @@ install-freestanding-headers:
 	$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
 	$(mkinstalldirs) $(DESTDIR)${host_installdir}
 	for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
+	  ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
 	  ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
 	  $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
 	$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
Index: libstdc++-v3/include/Makefile.am
===================================================================
--- libstdc++-v3/include/Makefile.am	(revision 173055)
+++ libstdc++-v3/include/Makefile.am	(working copy)
@@ -1200,6 +1200,7 @@ install-freestanding-headers:
 	$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}
 	$(mkinstalldirs) $(DESTDIR)${host_installdir}
 	for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
+	  ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
 	  ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
 	  $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
 	$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-30 10:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28  2:02 [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode Doug Kwan (關振德)
2011-04-28  9:56 ` Paolo Carlini
2011-04-28 18:00   ` Doug Kwan (關振德)
2011-04-28 18:25     ` Paolo Carlini
2011-04-28 19:13 ` Benjamin Kosnik
2011-04-30 12:11 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).