On Sun, 17 Oct 2004 18:20:45 -0600 David Goodlad <[EMAIL PROTECTED]> babbled:
> Hi all
>
> I'm building edb (and the rest of the EFLs) for my zaurus here...
> Looking to start building a really nice interface for my 'laptop
> replacement' pda :)
>
> Anyway, edb builds fine, but it refuses to open db files. New ones,
> existing ones, doesn't matter, it just errors out. I've done a little
> bit of fiddling on the edb_test program with gdb, but without too much
> success. It's failing by returning non-zero from __edb_fchk in
> edb_open. The same source (both cvs and the 1.0.5 'release') works
> just fine on my desktop.
>
> Anyone have any ideas? Anywhere for me to look for more info? I've
> checked google etc but cannot find anything even remotely related.
hmm - weird. i swear this works on big endian, little endian, 64 and 32bit. your
zaurus is 32bit arm - so it should work. have u build with gdb debugging (-g)
can u trace down __deb_fchk and see what exactly sends it turning around and
heading back with an error in hand? i'd like to fix this if we can. the ONLY
thng i can imagine it being is an unaligned memory read/write (the default
zaurus kernel will sigbus on this though - so u'll know pretty fast if it's
that! other kernels for ipaqs etc. enable the kernel "unaligned access fix" -
its dead slow as the kernel traps and does the read of memory for the app - but
it means it works).
other than unaligned accesses arms are just "32bit little endian cpus" a lot
like x86 - just a much cleaner instruction set (its very tasty!) :) (nb - arms
CAN be put into big endian mode too by a kernel - but people choose little
endian as a convention)
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
裸好多 [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel