This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] configury: CC_HAS_UINTPTR_T
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: drow at mvista dot com, gdb-patches at sources dot redhat dot com
- Date: Tue, 25 Feb 2003 18:17:04 -0600
- Subject: Re: [rfc] configury: CC_HAS_UINTPTR_T
Hi Daniel,
mec> Could you call it something different? Autoconfism for this would be
mec> HAVE_UINTPTR_T. You say yourself that it's a property of the C
mec> library, not of the CC.
No problem.
mec> +[AC_TRY_RUN([
drow> No no. Use AC_TRY_COMPILE; never run a test that you don't actually
drow> need runtime output for.
I suppose that's a cross issue (because we can cross-compile but not
cross-run).
I originally wrote this with AC_TRY_COMPILE but it failed, because
AC_TRY_COMPILE wraps an "int main () { ... }" around its argument.
Err wait, two minutes with 'info automake' and I am enlightened.
Doh!
Thanks,
Michael C