[gcc-in-cxx] Pick up previous -lstdc++ in later bootstrap stages

Ian Lance Taylor iant@google.com
Wed Mar 4 15:29:00 GMT 2009


This patch adds support for picking up the -lstdc++ built in the
previous stage when doing a bootstrap.  This is done in $(CXX), in
$(CXX_FOR_BUILD), and by adding it to $(RPATH_ENVVAR) (normally
LD_LIBRARY_PATH).  Committed to gcc-in-cxx branch.

Ian


2009-03-04  Ian Lance Taylor  <iant@google.com>

	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add -L option to CXX and
	CXX_FOR_BUILD to pick up previous libstdc++.  Set RPATH_ENVVAR to
	point to previous libstdc++.
	* Makefile.in: Rebuild.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1375 bytes
Desc: Use previous -lstdc++
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090304/c92dae0a/attachment.bin>


More information about the Gcc-patches mailing list