I wrote a C-Programm to read out header data of a binary image file header.
I'm getting header information with
where image_descriptor_table is a struct containing different data types
like uint_t16, uint_32 and char.
Now my programm runs fine on linux x86 32bit, but on Solaris 8 sparc 64 bit
the values are 256 times as big as on my linux box.
I'm using gcc3.3.
I tried the m64 flag, but this did not work at all.
I checked limits.h but found no difference in data type sizes, so where
is my problem?
Many thanks in advance,