Re: Reading binary file generated from 32-bit machine using 64-bit machine
- From: Thomas Koenig <tkoenig@xxxxxxxxxxxxx>
- Date: 25 Nov 2007 09:54:19 GMT
On 2007-11-25, yonas_kassa@xxxxxxxxxxx <yonas_kassa@xxxxxxxxxxx> wrote:
I am sorry if i come up with elementary question but i spend two days
trying to figure out how to read a binary file generated by gfortran
on a 32 bit i386 machine using a 64 bit x86_64 machine. i tried to use
the flag -frecord-marker=4 to change the default from 8 to 4 bytes on
64 bits machine.
Please give some details about the machines you are running on.
Which versions of gfortran do you use on the two machines?
What operating systems do you use?
The default for record markers was changed to four bytes from
(mostly) eight bytes with gfortran 4.2.0. If either of your
systems uses 4.1.*, you'll need to specify -frecord-marker=8
for gfortran 4.2.* .
However, this still doesn't seem to work. I just
can't read the binary file despite so many different trial.
What exactly does "doesn't work" mean?
Are you getting error messages / reading in the wong data / ???
Can you provide a simple example that we can corss-check?
.
- Follow-Ups:
- References:
- Reading binary file generated from 32-bit machine using 64-bit machine
- From: yonas_kassa
- Reading binary file generated from 32-bit machine using 64-bit machine
- Prev by Date: Re: More gfortran and BIND(C)
- Next by Date: Re: C String Prefix Operator Idea (Was: gfortran diagnostics and so on)
- Previous by thread: Reading binary file generated from 32-bit machine using 64-bit machine
- Next by thread: Re: Reading binary file generated from 32-bit machine using 64-bit machine
- Index(es):
Relevant Pages
|
|