Binary Data: Sparc -> x86 ?

Binary Data: Sparc -> x86 ?

Post by Dmitri Dementye » Sat, 13 Jul 1996 04:00:00

Is it possible to simply transfer binary data from
Sparc to x86 (both under Solaris) to use from Fortran
or C programs? Or we must to make byte-swap?

              Dmitri Dementyev


1. Sparc <-> PC dvi binaries for simple data types

I would like to have code to write floats, doubles, ints, and short
ints, to a file (in binary, NOT ASCII!) from either a Sparc or a PC w/DOS,
and be able to read it back again from either the Sun or the PC...
Does anyone have the code to do that?  It should look something like:

dvi_write_float(&fnumber)   -- to write a float in device independent manner
dvi_read_float(&fnumber)    -- to read a float in device independent manner

.... and the same for the other data types ...

PLEASE, email directly to me as I don't usually read this newsgroup.
Thanks for any help.


Dario Ringach                           office: (212) 998-7614
Center for Neural Science               home:   (212) 727-9346

2. NIS?

3. binary compatibility Solaris Sparc <==> x86

4. login.conf problem

5. What is on "Solaris 9 Data Encryption Supplement - Binary, SPARC "

6. digital camera

7. Solaris 10 x86 & sparc source/binary compatability

8. COLA FAQ 6 of 6 08-Feb-2003

9. Solaris 2.x GCC Binary location (SPARC & X86)

10. mmap a data file on x86 and sparc

11. * Is Solaris x86 binaries compatabe with Solaris for Sparc ?

12. are X86 and SPARC binaries compatible?

13. binary compatibility between SPARC and x86