[RFC] Quad-float support, round 4

FX fxcoudert@gmail.com
Tue Sep 14 14:17:00 GMT 2010


> I have tried the same on Cygwin but...
> 
> $ gcc-4.6 -x c -E timing.pf90 -o timing.f90 && gfortran-4.6 -ffree-line-length-none -fno-whole-file timing.f90 -L/tmp/libquad/lib -lgfortran -lquad -lm -O2 && ./a.exe
> 
> /tmp/ccwu3X12.o:timing.f90:(.text+0x8c4): undefined reference to `_sinl'
> /tmp/ccwu3X12.o:timing.f90:(.text+0xe84): undefined reference to `_cosl'
> /tmp/ccwu3X12.o:timing.f90:(.text+0x1444): undefined reference to `_asinhl'
> /tmp/ccwu3X12.o:timing.f90:(.text+0x1a04): undefined reference to `_erfcl'

Cygwin doesn't have long double, a.k.a. real(kind=10), math library support. Remove all lines that use this kind value.

FX



More information about the Fortran mailing list