From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: randolph@tausq.org (Randolph Chung)
Cc: mark.kettenis@xs4all.nl, gdb-patches@sources.redhat.com
Subject: Re: [hpux] Fix build problem on hpux
Date: Fri, 10 Mar 2006 01:48:00 -0000 [thread overview]
Message-ID: <200603100029.k2A0T1Dp029339@hiauly1.hia.nrc.ca> (raw)
In-Reply-To: <4410C609.5090207@tausq.org> from "Randolph Chung" at Mar 10, 2006 08:19:21 am
> Index: acinclude.m4
> ===================================================================
> RCS file: /cvs/src/src/gdb/acinclude.m4,v
> retrieving revision 1.13
> diff -u -p -r1.13 acinclude.m4
> --- acinclude.m4 17 Dec 2005 22:33:59 -0000 1.13
> +++ acinclude.m4 10 Mar 2006 00:16:44 -0000
> @@ -987,3 +987,14 @@ if test x = y ; then
> fi
> ])
>
> +AC_DEFUN(gdb_AC_HPUX,
> +[AC_BEFORE([$0], [AC_TRY_COMPILE])dnl
> +AC_BEFORE([$0], [AC_TRY_RUN])dnl
> +AC_MSG_CHECKING(for HPUX)
> +AC_EGREP_CPP(yes,
> +[#ifdef _HPUX_SOURCE
> + yes
> +#endif
> +], [AC_MSG_RESULT(yes); AC_DEFINE(_XOPEN_SOURCE_EXTENDED)], AC_MSG_RESULT(no))
> +])
Did you try this with GCC 4.0.0 or later? These automatically define
_XOPEN_SOURCE_EXTENDED (libstdc++ needed it for wchar support). I'm
afraid that you might get warnings.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
next prev parent reply other threads:[~2006-03-10 0:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-09 18:05 Randolph Chung
2006-03-09 19:14 ` Mark Kettenis
2006-03-10 1:35 ` Randolph Chung
2006-03-10 1:48 ` John David Anglin [this message]
2006-03-10 2:33 ` Randolph Chung
2006-03-10 11:15 ` John David Anglin
2006-03-10 12:50 ` Daniel Jacobowitz
[not found] ` <4410EE58.1060007@tausq.org>
[not found] ` <20060310035929.GA12013@nevyn.them.org>
[not found] ` <4410FF26.40509@tausq.org>
2006-03-26 8:33 ` Randolph Chung
2006-03-28 22:29 ` Daniel Jacobowitz
2006-03-29 0:28 ` Randolph Chung
2006-03-29 4:36 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200603100029.k2A0T1Dp029339@hiauly1.hia.nrc.ca \
--to=dave@hiauly1.hia.nrc.ca \
--cc=gdb-patches@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
--cc=randolph@tausq.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox