From: chj AT lin DOT foa DOT se (Christian Joensson FOA 72) Subject: Re: B20.1 + EGCS 1.1.1: -r8 option of g77 14 Jan 1999 10:55:05 -0800 Message-ID: <199901140722.IAA12585.cygnus.gnu-win32@arnljot.lin.foa.se> References: <369BF3A9 DOT 6ED6DB47 AT anu DOT edu DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: Steve Roberts Cc: gnu-win32 AT cygnus DOT com I don't think it's available. See the g77 docs. Cheers, /ChJ Increasing Precision/Range -------------------------- Some compilers, such as `f2c', have an option (`-r8' or similar) that provides automatic treatment of `REAL' entities such that they have twice the storage size, and a corresponding increase in the range and precision, of what would normally be the `REAL(KIND=1)' (default `REAL') type. (This affects `COMPLEX' the same way.) They also typically offer another option (`-i8') to increase `INTEGER' entities so they are twice as large (with roughly twice as much range). (There are potential pitfalls in using these options.) `g77' does not yet offer any option that performs these kinds of transformations. Part of the problem is the lack of detailed specifications regarding exactly how these options affect the interpretation of constants, intrinsics, and so on. Until `g77' addresses this need, programmers could improve the portability of their code by modifying it to not require compile-time options to produce correct results. Some free tools are available which may help, specifically in Toolpack (which one would expect to be sound) and the `fortran' section of the Netlib repository. Use of preprocessors can provide a fairly portable means to work around the lack of widely portable methods in the Fortran language itself (though increasing acceptance of Fortran 90 would alleviate this problem). Stephen DOT Roberts AT anu DOT edu DOT au said: > g77: unrecognized option `-r8' > Am I using the wrong option (it is documented in the info files), or > is this a bug. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".