This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/19481] libgfortran doesn't build -- configure doesn't handle cabs() well
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2005 14:33:18 -0000
- Subject: [Bug libfortran/19481] libgfortran doesn't build -- configure doesn't handle cabs() well
- References: <20050117132420.19481.coudert@clipper.ens.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-01 14:33 -------
(In reply to comment #2)
> I worked around this bug, commenting a line in /mingw/include/math.h (I quote it
> here for reference):
> //_CRTIMP double __cdecl cabs (struct _complex);
>
> The end of the compilation runs smoothly, but when I try to use gfortran, it
> complains at link-time about missing symbol _ftruncate. Indeed, mingw doesn't
> have a ftruncate (it has a chsize which has the same prototype and all), but the
The ftruncate problem should be fixed now.
Does this work fully or is cabs issue still there?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19481