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] |
This is the usual behavior of most compilers. Although real*4 isn't covered by any standards (it's IBM 360 compatibility syntax), it's generally taken to protect against options such as -fdefault-real-8, which will be understood only by gfortran, not by gcc. As the doc saysApologies if the solution to this is obvious but I have a macbook, with 10.6, up to date XCode, openmpi, gfortran (from http://r.research.att.com/tools/) installed. Am trying to compile an mpi f90 program for which the options include -fdefault-real-8. I get the error message in the subject line. I tried using -r8 but I then get errors that suggest that real variables are being left as real*4, and not real*8. If anyone can illuminate my ignorance I would be most grateful! Tony Rollett, Carnegie Mellon
`-fdefault-real-8' Set the default real type to an 8 byte wide type. Do nothing if this is already the default.
-- Tim Prince
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |