From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: Mark Kettenis <kettenis@wins.uva.nl>, gdb@sources.redhat.com
Subject: Re: SETPGRP and autoconf
Date: Thu, 26 Jul 2001 10:17:00 -0000 [thread overview]
Message-ID: <3B60505D.5080304@cygnus.com> (raw)
In-Reply-To: <20010726084450.A2941@nevyn.them.org>
>> What can we do about this? Besides my usual hack: I have a huge list of
>> autoconf cache variables in my build environment, preset.
>>
>> Dunno. I don't think there are too many people cross-compiling GDB.
>> If we want to fix this, we could use an alternative check for
>> AC_FUNC_SETPGRP when cross-compiling based on the setpgrp prototype.
>> I don't think it would hurts not defining SETPGRP_VOID if no
>> prototypes are available, since passing the extra arguments should be
>> harmless.
>
>
> Even if we don't require ISO C headers when building, requiring them
> while cross-compiling doesn't seem too unreasonable. I'll try to work
> up a patch for this.
That is kind of what I was thinking. I can see the following cases:
native - already covered, test works
cross debugger - N/A procfs et.al. do not need the results of the test
canadian cross - try headers; test is against the build systems
build-X-host cross compiler and not the build systems build-X-build
native compiler.
I can't see anyone trying to canadian-cross GDB to anything but a fairly
modern operating system, consequently, the headers test should work.
Could I suggest only doing the test after the existing test fails to
turn up anything useful.
Andrew
next prev parent reply other threads:[~2001-07-26 10:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-25 16:24 Daniel Jacobowitz
2001-07-26 3:40 ` Mark Kettenis
2001-07-26 7:54 ` H . J . Lu
2001-07-26 8:46 ` Daniel Jacobowitz
2001-07-26 10:17 ` Andrew Cagney [this message]
2001-07-26 10:28 ` 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=3B60505D.5080304@cygnus.com \
--to=ac131313@cygnus.com \
--cc=dmj+@andrew.cmu.edu \
--cc=gdb@sources.redhat.com \
--cc=kettenis@wins.uva.nl \
/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