Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosstorage] || [Date Prev] [05-2002 Date Index] [Date Next] || [Thread Prev] [05-2002 Thread Index] [Thread Next]

[openbeosstorage] Re: More stuff to implement [was: Re: latest update]

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Wed, 1 May 2002 10:13:01 +0200 (MET DST)
On Tue, 30 Apr 2002, Tyler Dauwalder wrote:

> > I guess not, but it needs some more investigation. Fortunately I've got a
> > PPC box as well (I hope it still works, I haven't used it for months), so
> > I will also be able to tackle endianess and PE format problems.
> 
> I bet we'll end up using ELF if we ever do an official PPC port, so don't 
> worry about it too much I suppose. It'd still be interesting to know if there 
> are differences, though.

Yep, you're right, we will certainly use ELF on all platforms. Especially
because the BeOS format on PPC is PEF (not PE) which is AFAIK patented by
Apple. Since I haven't found any documention on this format, I wouldn't be
able to support resources for it anyway. That is actually the only thing
to know about the object format is how to find out where the actual object
file ends (end resources start). For ELF one has to scan the section
header table. If a PEF header has a field, how long the file is, things
would be no problem. Anyway, this has no priority.

BTW, I made some progress: I wrote a little program, that is able to
analyze a resource file. It doesn't support ELF files yet, but I've got
all the information I need, thus it should be easy to do.
Another thing to figure out is how the check sum at the end of the
resources work. But as soon as that is in place, I can start the field
tests. :-)

Regarding the test suite for BResources, it may be a good idea to provide
some resource files for the tests. Otherwise it can only be ensured that
our BResources can eat the stuff, it created, but leaves open, if it is
compatible with the original Be resources.
Where would I put those files? In a subdirectory in test/ ?

Mmh, I just have the idea, that I could write a little command to create
and edit resource files. Then the test files could be created on the
fly. Excutables had to be at tested as well... but we have /bin...
Mmh, I will think about it.

CU, Ingo






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.