libio / gen-params and __printf_fp test

Mike Stump mrs@windriver.com
Fri Feb 9 09:54:00 GMT 2001


> From: David Korn <dkorn@pixelpower.com>
> To: "'Per Bothner'" <per@bothner.com>, "Gcc-List (E-mail)" <gcc@gcc.gnu.org>
> Date: Fri, 9 Feb 2001 16:06:31 -0000 

> # A little test program to check if __printf_fp is available.
> cat >dummy.c <<EOF
> int main()
> {
>     return __printf_fp ();
> }
> EOF

All these types of tests should be heavily stylized in the bowels of
autoconf/automake, and then we teach it to use nm to find things,
that, or else we build up an object that has all the defined things
from the kernel, so that we can to full, real links.

The simple hack around is to override the dynamic decisions with
static answers, be is make file fragments, or configure bits, or ...



More information about the Gcc mailing list