Add libstdc++/ to library search path when constructing CXX_FOR_TARGET
Nick Clifton
nickc@cygnus.com
Wed Jul 5 15:51:00 GMT 2000
Hi Guys,
I have been asked to submit the following patch for approval. It
adds a "-L<root>/<target_subdir>/libstdc++" search path to the g++
command placed into CXX_FOR_TARGET when newlib has not been
configured. This allows Linux natives to be built in such
circumstances. The patch was originally developed by Jim Wilson.
Ok to apply ?
Cheers
Nick
2000-07-05 Jim Wilson <wilson@cygnus.com>
* Makefile.in (CXX_FOR_TARGET): Add
-L<root>/<target_subdir>/libstdc++ when newlib has not been
configured.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/Makefile.in,v
retrieving revision 1.47
diff -p -r1.47 Makefile.in
*** Makefile.in 2000/05/18 04:15:51 1.47
--- Makefile.in 2000/07/05 22:43:09
*************** CXX_FOR_TARGET = ` \
*** 269,275 ****
;; \
esac \
else \
! echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/; \
fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
--- 269,275 ----
;; \
esac \
else \
! echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/ -L$$r/$(TARGET_SUBDIR)/libstdc++; \
fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
More information about the Gcc-patches
mailing list