This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libio / gen-params and __printf_fp test
- To: dkorn at pixelpower dot com, gcc at gcc dot gnu dot org, per at bothner dot com
- Subject: Re: libio / gen-params and __printf_fp test
- From: Mike Stump <mrs at windriver dot com>
- Date: Fri, 9 Feb 2001 09:53:46 -0800 (PST)
> 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 ...