This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

G77 binary file access


Hello,

Is it possible to open raw binary file (i.e. without any record structure) 
with G77 OPEN statement or the fputc/fgetc is the only (not very comfortable) 
way to acces raw data.
In other Fortran dialects (like DEC, SGI IRIX, or Microsoft for PCs :-)) there 
are additional options to ANSI FORTRAN 77 of OPEN statement, like 
form='binary' or access='stream'. I have not found any suitable set of options 
for this purpose. Can you help me?


Best regards,


Janos Lichtenberger


-- 
 Janos Lichtenberger
Space Research Group,
Eotvos University,
Budapest, Pf 32 H-1518 Hungary
Tel: +36-1-372 2934
Fax: +36-1-372 2927



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]