[Mono-list] compiling on FreeBSD
Dick Porter
dick@ximian.com
15 Aug 2001 10:15:57 +0100
On 13 Aug 2001 07:46:43 +0200, Dietmar Maurer wrote:
> > These are part of ISO C 9X. It is part of the glibc.
> >
> > I think we will have to probe the installation for those functions and
> > define our own if they are not part of the system headers.
>
> Aren't there similar macros on FreeBSD? Take a look at /usr/include/math.h. We need
> at least a function to detect if a floating point value is NaN. It is named
> __fpclassify and located in libm on my linux system:
Last time I looked at C9X maths support in glibc, you needed to specify
_GNU_SOURCE to get it seen. Garrett should check his CFLAGS for that.
- Dick