From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,53b00ca07b0e7ec5 X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,53b00ca07b0e7ec5 X-Google-Attributes: gid111c93,public From: "G. Hugh SONG" Subject: Re: "Unformated" data in g77 between Intel & ALpha Date: 1998/10/14 Message-ID: <700sin$hfu$1@news.kjist.ac.kr>#1/1 X-Deja-AN: 400811328 Content-Transfer-Encoding: 7bit References: <6vvtf4$2jo$1@news.kjist.ac.kr> <7001j3$11r@news1.newsguy.com> Content-Type: text/plain; charset=us-ascii Organization: KJIST, KwangJu, KOREA Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.lang.fortran Greg Lindahl wrote: > "G. Hugh SONG" writes: > > > I heard that the default length of integer data type is different. > > Would that affect the compatibility of "UNFORMATED" data type? > > It so happens that the f2c libraries use a 4-byte integer for a record > length for unformatted data on x86, and an 8-byte integer on an alpha. > > You can write a program to convert from one to the other. > > -- g Thank you for your kind answer, Mr. Lindahl. Is integer the only data type which contributes the incompatibility between g77's of Intel Linux and Alpha Linux? If so, I can handle this. If that is not the case, too much problem. Then, I should use FORMATED IO only. This way, I will have a major problem with the file size. Thanks -- G. Hugh Song PS: Please remove "Spamspoiler" when replying