gfortran 4.3.4: NINT() intrinsic triggers undefined references to '_llround' and '_llroundf'

2010-10-15 Thread Cornelis de Gier
The NINT() intrinsic in current gfortran under current cygwin triggers undefined references to '_llround' and '_llroundf'. I found a somewhat related post here: http://sourceware.org/ml/cygwin/2010-06/msg00369.html , but I could not deduce a solution from this message. Below follows a small test p

Re: gfortran 4.3.4: NINT() intrinsic triggers undefined references to '_llround' and '_llroundf'

2010-10-16 Thread Cornelis de Gier
2010/10/16 Marco Atzeri : > As Dave wrote the problem is inside cygwin > >> I thought it was just because we are failing to export >> them in the cygwin.din file.  The correct .o files are >> compiled as part of the newlib libm build. > > but we forgot to make a patch. > > I will look on it. > > Ma

Re: gfortran 4.3.4: NINT() intrinsic triggers undefined references to '_llround' and '_llroundf'

2010-10-19 Thread Cornelis de Gier
2010/10/18 Marco Atzeri : > next cygwin release/snapshot will solve it. > > http://cygwin.com/ml/cygwin-patches/2010-q4/msg5.html > > $ gfortran -Wall testninit.f90 -o testninit > > $ ./testninit >                    2 >                    1 > > Marco Great, thank you for the patch. Next cygw