This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for C++ build on HP-UX and to implement -static-libstdc++


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

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]