[kaffe] Familiar iPAQ/ARM Linux success + comments
Wed, 5 Jun 2002 15:05:42 +0300 (EEST)
Using latest CVS code of the intended release branch, I managed to
cross-compile the desktop Kaffe for Familiar 0.5.2 release... Using the
standard toolchain for now.
Unfortunately Kaffe's build-scripts aren't very cross-compile considerate
right now, so this took mroe than little of testing and hacking. Most
notably libtool does its usual forced-lib-path annoyance. Configured with:
Then need to set up sys_lib_search_path_spec for libtool, or just edit
libtool to substitute the paths. It's perhaps also worth mentioning that
the default Handhelds.org toolchain can't anymore handle the binary format
in many newer ARM libraries, but this may not be a problem for dynamic
linking. In any case the toolchain eneds to be augmented with some
supplementary libs for jpeg, png, zlib etc. if somebody does try to
reproduce this. It builds with jit by default.
Finally, copying the whole resulting installation directory to iPAQ, and
running it on XSmiles slowly gets through the moves up and until after the
parsing, layout and display should be done (but display update hangs at
some point) and then breaks with:
[Debug] *** Fetcher thread exiting, time: 56.54 secs.
Dumping live threads:
`AWT-EventQueue-0' tid 0xd84010, status SUSPENDED flags DONTSTOP
`gc' tid 0x219010, status SUSPENDED flags DONTSTOP
`finaliser' tid 0x210010, status SUSPENDED flags DONTSTOP
Deadlock: all threads blocked on internal events
Going to be running the test-suite and otherwise trying to track that down
when I can, but thought I'd report that for the most part it seems to be
working for me. Cross-compiling should be made easier and more intuitive,
and port jit3 for ARM over from PL, though.