g77 sequential binary problem 64-bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

We just bought a new Dell machine with 64-bit AMD processors (2) and RH Enterprise Linux. Previously I used a series of 32-bit machines with
various flavors of RH. I typically used g77 and in my work created thousands of sequential binary files.


I find I cannot read these files on the new machine under g77 using methods that have worked for me for many years - I find (and read) that
the record length indicators are now expected to by 8 bytes long rather
than 4 bytes.


It would be nearly impossible for me to translate my existing files, not
to mention that they are shared with folks on other (32-bit) machines who need to read them.


Is there a simple compile flag or library include that will avoid this
problem so that I can read and write sequential binary files on the 64-bit machine that are just the same as on 32-bit machines with g77??


Many thanks,

Nick Graham



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux