Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!ssc-vax!uvicctr.UVic.ca!edavies From: edavies@uvicctr.UVic.ca.UUCP (Eric Davies) Newsgroups: comp.lang.fortran Subject: Vax to Sun, Source code conversion Keywords: vax, sun, byte order, little endian Message-ID: <716@uvicctr.UVic.ca.UUCP> Date: 13 Jul 89 23:23:38 GMT Reply-To: dgaboury@gulf.UVic.ca (Darell Gaboury) Organization: University of Victoria, Victoria B.C. Canada Lines: 24 Subject: Byte order problem with fortran source conversion Hi, A friend is trying to convert a very large fortran program from a Vax to a sun. He's running into a byte ordering problem. When compiled on the sun, the program writes a binary data file that has bytes in the wrong order (though integers seem to be okay). Hand translation has proven error prone and slow. What is desired is a mechanical translator that will convert the fortran (with lots of ugly equivalence statements and common blocks) from Vax to Sun. Any suggestions/references would be appreciated. Please mail responses to: dgaboury@gulf.UVic.ca or edavies@uvunix.bitnet edavies@uvicctr.UUCP Thankyou. Eric Davies