This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: libio / gen-params and __printf_fp test


> 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 ...


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