This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]