This is the mail archive of the gcc-patches@gcc.gnu.org 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: <top-level> Makefile.tpl


On 09/22/2009 08:50 PM, Loren James Rittle wrote:
Seems obvious to me but I shall ping here.  Found while trying to
bootstrap gcc with --enable-gold --enable-build-with-cxx with various
binutils directories staged inside the gcc tree and another patch
(which is still baking) to use [prev-]gold/ld-new rather than
[prev-]ld/ld-new in the presence of --enable-gold .  Regards, Loren

	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Remove stray $$r/.
	* Makefile.in: Rebuilt.

Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 152040)
+++ Makefile.tpl	(working copy)
@@ -238,7 +238,7 @@
  	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
  	  -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
  	  -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
-	  -I$$r/$(srcdir)/libstdc++-v3/libsupc++ \
+	  -I$(srcdir)/libstdc++-v3/libsupc++ \

I'm not sure this does what you think (you may end up using the installed headers).


Can you try using -I$$s/libstdc++-v3/libsupc++? If it works, that patch is preapproved. This time however please commit it to both the gcc and src repositories.

Paolo


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