re PR bootstrap/7817 (Link to gcc man page in g++ man page incorrect)
authorNathanael Nerode <neroden@gcc.gnu.org>
Sat, 10 Jan 2004 01:30:39 +0000 (01:30 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Sat, 10 Jan 2004 01:30:39 +0000 (01:30 +0000)
PR bootstrap/7817
* Make-lang.in: Copy gcc.1 to g++.1 rather than using .so.

From-SVN: r75620

gcc/cp/ChangeLog
gcc/cp/Make-lang.in

index 3dc569c0596b103ce8e9891b20063da8d9776a21..24e088fcbb698dbf04270a021cf714a4cc093e44 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-09  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       PR bootstrap/7817
+       * Make-lang.in: Copy gcc.1 to g++.1 rather than using .so.
+
 2004-01-10  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
 
        DR 337
index 1947311a9a20d1bf9741aa6c4baf1e5b5b1e4943..5c8bffc9d50b31d3493d460d7b677b0033fca82f 100644 (file)
@@ -154,9 +154,10 @@ c++.install-common: installdirs
          fi ; \
        fi
 
-$(docobjdir)/g++.1:
-       -rm -f $@
-       -echo ".so man1/$(GCC_INSTALL_NAME).1" > $@
+# We can't use links because not everyone supports them, and we can't use
+# .so because Irix 6.5 doesn't support them.  So just copy the manpage.
+$(docobjdir)/g++.1: $(docobjdir)/gcc.1
+       cp $(docobjdir)/gcc.1 $(docobjdir)/g++.1
 
 c++.install-man: installdirs $(docobjdir)/g++.1
        -if [ -f cc1plus$(exeext) ] ; then \