--- Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> > ... So the math library in
> > question is the /usr/include/math.h header?
> 
> No. That's the header do declare functions in the
> math library. The
> library is e.g. F</usr/lib/libm.so>.

Well you see - that's what I thought but removing it
seemed to have absolutely no effect so I initially
ignored it.

$ mv /usr/lib/libm.a /tmp
$ make realclean
$ cvs update -dP
$ perl Configure.pl <options>
$ make
$ make test (all tests pass)

Now since you confirmed my original suspicion, I
started asking myself where were they coming from then
(output snipped)?

$ objdump -p parrot.exe

        DLL Name: cygwin1.dll
        vma:  Hint/Ord Member-Name Bound-To
        1b5588     14  __assert
        1b5668    642  acos
        1b567c    662  asin
        1b5684    668  atan
        1b568c    669  atan2
        1b5694    675  atof
        1b56c8    711  cos
        1b56d0    713  cosh

I have downloaded the source for Cygwin in case there
is something in the libm directory I should look at.

The other reason I was so focused on the math header
file came from some comments from the math header file
I found in the mingw directory:

/* 7.12.3.1 */
/*
   Return values for fpclassify.
   These are based on Intel x87 fpu condition codes
   in the high byte of status word and differ from
   the return values for MS IEEE 754 extension
_fpclass()
*/
#define FP_NAN          0x0100
#define FP_NORMAL       0x0400
#define FP_INFINITE     (FP_NAN | FP_NORMAL)
#define FP_ZERO         0x4000
#define FP_SUBNORMAL    (FP_NORMAL | FP_ZERO)
/* 0x0200 is signbit mask */
/*
  We can't inline float or double, because we want to
ensure truncation
  to semantic type before classification.
  (A normal long double value might become subnormal
when
  converted to double, and zero when converted to
float.)
*/

I tried very unsuccesfully to get parrot to compile
using mingw btw.

> leo
Cheers
Joshua Gatcomb
a.k.a. Limbic~Region


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Reply via email to