1

Write binary in 32 bit from a 64 bit C program

view story
linux-howto

http://ubuntuforums.org – Hi, This may be a strange question, but here it is. I am writing a C program for 64 bit compilation which gives lots of binary output files (mainly entire C structures with double precision numbers). In 64 bit computer I can read and process data without any problem. But, I cannot read the data from a 32 bit computer (because it is in 64 bit). Is there any way to convert the 64 bit binary file to 32 bit? or directly print the data in 32 bit binary from the 64 bit program? or read 64 bit data from a 32 bit computer? Any place where I could find the guidance to accomplish this will be gre (Hardware)