nanogui: convbmp big-endian bug?
Subject:
convbmp big-endian bug?
From:
Will Hua Zheng ####@####.####
Date:
20 Apr 2005 00:47:01 +0100
Message-Id: <42659859.5040607@jpl.nasa.gov>
I was trying to compile nano-X for a powerpc-405 based board. The CPU
was set with big-endian operation mode. I configured (0.9 version)
microwindows to use BIGENDIAN=Y. I issued the make command but the make
process stops at convbmp -o car8.c car8.bmp. Checking the source code of
convbmp I realized that convbmp only works on little endian machines. So
I wrote some byte reordering code in convbmp and recompiled the code and
it's now converting bmps into .c's correctly.
My question is, was I doing something wrong? Is the convbmp code really
only for little endian machines or did I not set up some configuration
code right?
Regards,
Will Zheng