xfs
[Top] [All Lists]

Re: encounter a 4 GB file size limit

To: linux-xfs@xxxxxxxxxxx
Subject: Re: encounter a 4 GB file size limit
From: Todd Raeker <raeker@xxxxxxxxx>
Date: Tue, 6 Nov 2001 09:37:33 -0500
In-reply-to: <3BDD8E31.9C817A5@xxxxxxxxxxxx>
References: <01102909435902.11332@chemraeker1> <3BDD8E31.9C817A5@xxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
O.K. everyone.  

It appears I do not know what I am doing with respect to enabling large files 
in my fortran code.  I am using g77 and just writting into an unformatted 
file.  I use -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE as 
command line options.  There must also be an option in the open statement 
that sets up the correct file characteristics but I cannot find it anywhere.  
I see the way to do it using gcc but not g77.  Any suggestions?

Thanks

Todd.

-- 
Todd Raeker
Department of Chemistry
University of Michigan
(734) 647-2867 Phone
(734) 615-6950 FAX


<Prev in Thread] Current Thread [Next in Thread>