nanogui: About BIG_ENDIAN
Subject:
About BIG_ENDIAN
From:
"nbhorse" ####@####.####
Date:
9 Dec 2002 08:53:01 -0000
Message-Id: <200212092000.gB9K0EA06892@mail.cnbook.com.cn>
Hello everyone:
I want to port microwin to my ep7212(arm) board(4bpp gray screen) in which system is linux_2.4.18 with rmk7,so I downloaded microwindows-0.89.tar.gz from microwin website. I based my config file on config.L7200 and compile it.However,my app ran on board and the image of app is illegible .I think this is a BIG/LITTLE endian's problem.My board run under BIG_ENDIAN,but __BYTE_ORDER in swap.h is defined "LITTLE_ENDIAN",I replace "#if __BYTE_ORDER==__BIG_ENDIAN" by "#if 1" in my swap.h,but that problem still exist.How shold i do?
Thanks,
nbhorse