nanogui: convbmp big-endian bug?


Previous by date: 20 Apr 2005 15:31:22 +0100 Re: keeping the project alive, Steven Scholz
Next by date: 20 Apr 2005 15:31:22 +0100 Re: keeping the project alive, Alex Holden
Previous in thread: 20 Apr 2005 15:31:22 +0100 convbmp big-endian bug?, Will Hua Zheng
Next in thread: 20 Apr 2005 15:31:22 +0100 Re: convbmp big-endian bug?, alain volmat

Subject: Re: [nanogui] convbmp big-endian bug?
From: alain volmat ####@####.####
Date: 20 Apr 2005 15:31:22 +0100
Message-Id: <20050420143053.4466.qmail@web41725.mail.yahoo.com>

Hi Will,

sorry, I have almost never used mwin (always nanoX) so
I can't tell you much about that, however the file
header of conv_bmp.c says:

 * 9/24/2003 endian-neutral conversion

so I guess that there should be some support (maybe
buggy for big endian too) ... 

would you mind share with us your mods. If it comes
that conv_bmp.c do have problems in big endians, we
should correct that in the current tree.

Alain

--- Will Hua Zheng ####@####.#### wrote:
> 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
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> ####@####.####
> For additional commands, e-mail:
> ####@####.####
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Previous by date: 20 Apr 2005 15:31:22 +0100 Re: keeping the project alive, Steven Scholz
Next by date: 20 Apr 2005 15:31:22 +0100 Re: keeping the project alive, Alex Holden
Previous in thread: 20 Apr 2005 15:31:22 +0100 convbmp big-endian bug?, Will Hua Zheng
Next in thread: 20 Apr 2005 15:31:22 +0100 Re: convbmp big-endian bug?, alain volmat


Powered by ezmlm-browse 0.20.