diff options
author | Jim Wilson <wilson@cygnus.com> | 2000-07-06 00:50:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2000-07-06 00:50:01 +0000 |
commit | 34be2b3691b3cd19938a40e80b307491d8a7ad37 (patch) | |
tree | 2434eca24ff3a9860f51edc63c0bdf58dbdec537 | |
parent | 42d18a47a03df5e4705fab06f3d78f2c0c94ce10 (diff) | |
download | gcc-34be2b3691b3cd19938a40e80b307491d8a7ad37.zip gcc-34be2b3691b3cd19938a40e80b307491d8a7ad37.tar.gz gcc-34be2b3691b3cd19938a40e80b307491d8a7ad37.tar.bz2 |
Fix CXX_FOR_TARGET to add -L libstdc++
From-SVN: r34878
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.in | 8 |
2 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2000-07-05 Jim Wilson <wilson@cygnus.com> + + * Makefile.in (CXX_FOR_TARGET): Add libstdc++ to the library + search path for a g++ extracted from the build tree. This + will allow link tests run by configure scripts in + subdirectories to succeed. + 2000-06-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * MAINTAINERS: Add myself as loop discovery maintainer. diff --git a/Makefile.in b/Makefile.in index 578a663..c74422e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -258,18 +258,18 @@ CXX_FOR_TARGET = ` \ if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ case "$(target_canonical)" in \ i[3456]86-*-cygwin*) \ - echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc; \ + echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc -L$$r/$(TARGET_SUBDIR)/libstdc++; \ ;; \ *) \ if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \ - echo $$r/gcc/g++ -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ + echo $$r/gcc/g++ -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc -L$$r/$(TARGET_SUBDIR)/libstdc++; \ else \ - echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ + echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc -L$$r/$(TARGET_SUBDIR)/libstdc++; \ fi; \ ;; \ esac \ else \ - echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/; \ + echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/ -L$$r/$(TARGET_SUBDIR)/libstdc++; \ fi; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |