On 29-Jul-11, at 2:11 PM, Steve Ellcey wrote:

On Fri, 2011-07-29 at 20:00 +0200, Rainer Orth wrote:
Steve,

Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac    (revision 176899)
+++ gcc/configure.ac    (working copy)
@@ -3240,6 +3240,13 @@
      *-*-solaris2*)
        gcc_cv_ld_static_dynamic=yes
        ;;
+      *-*-hpux*)
+       if test x"$gnu_ld" = xno; then
+         gcc_cv_ld_static_dynamic=yes
+         gcc_cv_ld_static_option="-aarchive"
+         gcc_cv_ld_dynamic_option="-adefault"
+       fi
+       ;;
    esac
  fi
fi

just a nit, but could you keep the cases sorted alphabetically?

Thanks.
       Rainer

I can do that.  And add a comment line like the other entries have.

The patch fixes the C++ build on HP-UX 11.11 for both 32 and 64-bit
targets.  The HP-UX parts are ok with above revision.

Dave
--
John David Anglin       dave.ang...@bell.net



Reply via email to