[PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.

2011-04-27 Thread 關振德
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  

* include/Makefile.am (install-freestanding-headers): Also install
cxxabi_tweaks.h.
* include/Makefile.in: Regnerate.
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}


Re: [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.

2011-04-28 Thread Paolo Carlini

On 04/28/2011 03:37 AM, Doug Kwan (關振德) wrote:

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.
Makes sense. Did you install your other similar tweak to 4_6-branch too? 
In that case, I would suggest doing the same for this one too. Please 
wait 48 hours though, in case other maintainers have different opinions.


Thanks,
Paolo.

PS: Normally, regenerated files are not posted.


Re: [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.

2011-04-28 Thread 關振德
Hi,

Thanks.  I will wait for 2 days before checking this into trunk.
The previous fix was in the 4.6 release.  Can I also check in this fix
into 4.6 branch as well?

-Doug

On Thu, Apr 28, 2011 at 2:34 AM, Paolo Carlini  wrote:
> On 04/28/2011 03:37 AM, Doug Kwan (關振德) wrote:
>>
>> 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.
>
> Makes sense. Did you install your other similar tweak to 4_6-branch too? In
> that case, I would suggest doing the same for this one too. Please wait 48
> hours though, in case other maintainers have different opinions.
>
> Thanks,
> Paolo.
>
> PS: Normally, regenerated files are not posted.
>


Re: [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.

2011-04-28 Thread Paolo Carlini

On 04/28/2011 07:16 PM, Doug Kwan (關振德) wrote:

Hi,

 Thanks.  I will wait for 2 days before checking this into trunk.
The previous fix was in the 4.6 release.  Can I also check in this fix
into 4.6 branch as well?

Yes.

Paolo.


Re: [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.

2011-04-28 Thread Benjamin Kosnik
 
 
> 2011-04-27  Doug Kwan  
> 
>   * include/Makefile.am (install-freestanding-headers): Also
> install cxxabi_tweaks.h.
>   * include/Makefile.in: Regnerate.

OK for trunk and 4.6

-benjamin


Re: [PATCH][libstdc++] Also install cxxabi_tweaks.h in freestanding mode.

2011-04-30 Thread Jonathan Wakely
On 28 April 2011 02:37, Doug Kwan (關振德) wrote:
>        * include/Makefile.in: Regnerate.

Typo: "Regenerate"