This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [libgfortran,patch] Add fallback functions tgamma, lgamma, tgammaf and lgammaf
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 17 Nov 2007 12:54:28 +0000
- Subject: Re: [libgfortran,patch] Add fallback functions tgamma, lgamma, tgammaf and lgammaf
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; bh=ZKUFwV3t4xfAzjPnkI7kA91QQk3v8GwowNpUU0QO3vE=; b=qEh6G87ElOfwLToBIpZUEAAW1cYk3rof7iK87t+sgTzpKheU+vYjWrVMfeNwD/A1KUl67G62j4/2AhE9opV+2ruJ1ROIW3Bk1fMf2rVDsYn7vTf2PtVp8ToRidGcb9dRjlGqxkAoTTU1xjOBc5Vodv238IMY657ECWV74vBJJyU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=MPMPQJep6Tzqv4F7tvsptg47JXUJFXmjc7eEtRL/SEuHCh0dYMrFyQAbgSIRS9fyn9h/8OMLpwaBfXKVypHWqJqmJovIXpluly1WkfWfTgNeUI0eapSijc9nHS65PveyHdQzsVHAhCQtR8vg9JjV3s2AiUOqPfGEeWfYg8ayGOA=
- References: <Pine.CYG.4.58.0711170922001.956@homepc>
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