4.1.0 configure problem re kind 10 for cygwin

Tim Prince tprince@myrealbox.com
Sun Oct 9 23:12:00 GMT 2005


FX Coudert wrote:
>  > Then, libgfortran attempts to build the
> 
>> selected_real_kinds.f90 with kind 10 included, but fails.
> 
> 
> We'd need the exact error message for that. As well as the kinds.h file.
After installing gcc-4.1, it is possible to build libgfortran without 
optimization, without running into the kind 10 failure.  kinds.h attached.
Apparently, when bootstrapping with an earlier version of gcc, that gcc 
is used to build libgfortran.  I was bootstrapping with 4.0.3.
Does testsuite still test the installed libgfortran, rather than the one 
which has just been built?

> 
>> but there is no C library support for it in Cygwin, and both the 
>> libstdc++ and libgfortran configure scripts appear to figure that out OK.
> 
> 
> You mean all the long double math functions are not available?
> 
That's correct, the math library (newlib) used by Cygwin does not 
support long double math, not even by substituting double functions. 
Except that libstdc++ does call the double math functions in its long 
double library.
Long double I/O is a relatively recent addition to newlib.

Is it convenient to set up the libfortran Makefile to build selected 
files with or without optimization, in order to work around the ICE 
failures of gcc-4.1?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kinds.h
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051009/9d81234d/attachment.h>


More information about the Fortran mailing list