Dear all,
I'm trying to write a GUI program for Power PC with 300e CPU and PCI graphic card on it.
I wrote it on x86 Linux system and cross-compiled it.
When it running in Linux on Power PC, everything is fine except the colors.
It seems the endian problems because I have done some tests for the framebuffer with different endian.
The x86 system is little-endian and Power PC is just the opposite,
so there might be something wrong when processing the RGB values.
I tried to re-configure the Qtopia with "-big-endian" when cross-compile, but it didn't work.
I wonder if it works or not by modifying "qscreen_qws.h".
Please give me some suggestion to solve this problem, thanks.