This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for C++ build on HP-UX and to implement -static-libstdc++
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org, dave dot anglin at bell dot net, joseph at codesourcery dot com
- Date: Fri, 29 Jul 2011 20:00:35 +0200
- Subject: Re: Patch for C++ build on HP-UX and to implement -static-libstdc++
- References: <201107291747.p6THlib10035@catbert.cup.hp.com>
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