porting libgcj to PalmOS
Peter Mortier
peter.mortier@armadas.net
Wed Dec 29 09:50:00 GMT 1999
Alexandre Petit-Bianco wrote:
>> > I have already built a gcc cross-compiler and necessary tools
> for the PalmOS
> > target on my Linux machine.
>> Is it prc-0.5.0 or the egcs based toolchain? The set of patches for
> latter would be necessary in order to get gcj (the egcs patches are
> based on 2.95.2) and some of the fixes absolutely necessary to have
> libgcj running (like an improved C++ runtime support.)
>I've actually experimented quite a bit, this is what I got on my system
Linux x86 Redhat 6.2:
1) prc-0.5.0 tools, cross-compiles fine Palm applications written in C++, no
gcj
2) EGCS based toolchain, with binutils binutils 2.9.1, gdb4.18, gcc2.95.2
and the latest patches from John Marshall, to build a cross-compiler for
PalmOS. Patches and builds fine, except for java support, build chokes,
again no gcj :(
3) 21/12/99 snapshot of EGCS, native compiler. with gcj support and 21/12/99
snapshot of libgcj compiled. Compiled and ran some basic Java applications,
and even tried some CNI, works like a charm.
So currently, I've basically got the following problems:
1) getting gcj to work as a front-end for my gcc-Palm-cross-compiler.
2) building a suitable libgcj for the PalmOS: I've already started modifying
some of the config files of the libgcj, trying to figure out how libgcj
works and builds (there is not a lot documentation, you know)
I'll wory about the gc in a later stage.
Thanks,
Peter Mortier
More information about the Java
mailing list