This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Recent libstdc++-v3 cmath.cc doesn't compile on alphaev6-unknown-linux-gnu
Zack Weinberg wrote:
> On Fri, Jun 09, 2000 at 10:49:36PM +0200, Toon Moene wrote:
> > Well, it turns out that the libm on my system:
> >
> > $ ls /lib/libm*
> > /lib/libm-2.1.1.so* /lib/libm.so.6.1@
> >
> > $ nm /lib/libm.so.6.1 | grep acosl
> > 0000000000019020 t __acosl
> > 000000000001d000 t __cacosl
> > 0000000000019020 W acosl
> > 000000000001d000 W cacosl
> > contains acosl [et al.], but there's no header file with a prototype for
> > it:
> > $ grep acosl `find /usr/include -name '*.h' -print`
> > <nothing>
> If this is glibc 2.1, the acosl prototype is (should be) created by
> evil macros in math.h and bits/mathcalls.h.
> $ cpp /usr/include/math.h |grep acosl
> extern long double acosl (long double __x);
> extern long double __acosl (long double __x);
Not over here:
$ cpp /usr/include/math.h | grep acos
extern double acos (double __x) ; extern
double __acos (double __x) ;
extern double acosh (double __x) ; extern
double __acosh (double __x) ;
extern float acosf (float __x) ; extern
float __acosf (float __x) ;
extern float acoshf (float __x) ; extern
float __acoshf (float __x) ;
Is there something simple I can do to math.h or bits/mathcalls.h that
would solve this ?
TIA,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)