[Mono-list] compiling on FreeBSD

Garrett Rooney rooneg@electricjellyfish.net
Wed, 15 Aug 2001 07:25:37 -0400


On Wed, Aug 15, 2001 at 10:15:57AM +0100, Dick Porter wrote:
> 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.

i don't recall seeing that in my CFLAGS, but i don't think it will help, since
from what i can see, those macros aren't even in the include files.

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.