This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fortran io with g77 on redhat 7.2 for itanium ( IA64 )
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Winfrid dot Tschiedel at hpc dot fujitsu-siemens dot com
- Cc: gcc at gnu dot org
- Date: Wed, 30 Apr 2003 23:03:31 +0200
- Subject: Re: fortran io with g77 on redhat 7.2 for itanium ( IA64 )
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200304301241.OAA13849@raptor.hpc.fujitsu-siemens.com>
Winfrid Tschiedel wrote:
Please check your answer - I have attached a small program which
tells you about datasizes and representation.
`long' is 8 byte on RedHat 7.2 for Itanium ( IA64 ) as you can see from
the output of the attached program :
uname -a
Linux tiger-4 2.4.9-18smp #1 SMP Tue Dec 11 12:59:00 EST 2001 ia64 unknown
gcc-c++-2.96-112.7.2
gcc-g77-2.96-112.7.2
gcc-2.96-112.7.2
gcc-g77-2.96-112.7.2
glibc-2.2.4-31
glibc-common-2.2.4-31
OK. Whether the length of a record on unformatted I/O is given as a
long or an int is determined by the setting of the preprocessor symbol
UIOLEN_int (see gcc/libf2c/libI77/fio.h).
As gcc-2.96 is not an FSF release of gcc, I cannot confirm (or deny)
that this symbol was set such that `int' was used as the type of integer
used for record lengths, or `long'.
Please build a recent gcc (such as 3.2.3) from source and report the
results.
Thanks,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)