This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [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


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