[libgfortran,patch] Add fallback functions tgamma, lgamma, tgammaf and lgammaf

FX Coudert fxcoudert@gmail.com
Sat Nov 17 13:47:00 GMT 2007


> Should one build GFC with a special recipe?

You need to build GCC, then edit ${builddir}/${target}/{,*/} 
libgfortran/config.h to remove the lines that define HAVE_{T,L}GAMMA 
{F,}, and rebuild the libgfortrans. There might be some deep autoconf  
magic to do that, but I don't know it.

Alternatively, you could (before building) remove the lines checking  
for {t,l}gamma{f,} in libgfortran/configure.ac, regenerate  
config.h.in and configure, and then build.

But of course, the best thing to do is: report this bug to cygwin/glibc.

FX



More information about the Fortran mailing list