GCJ on arm-linux
David Daney
ddaney@avtrex.com
Tue Aug 8 21:55:00 GMT 2006
Casey Marshall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi guys.
>
> I'm looking into running GCJ on an arm-linux system, and from some
> searching it looks as though we do not yet have full support for this
> platform. Is this right?
>
> My understanding is that some of the hairy bits for handling null
> dereferences, and libffi, are currently missing. Is there anything else
> missing?
>
Probably you will want to write an MD_FALLBACK_FRAME_STATE_FOR for
arm-linux (goes in gcc/config/arm somewhere).
Locking? sysdeps/arm is missing.
You mentioned libffi closures for arm I think.
Some configure hackery to get it to use all the new things.
Anthony Green mentioned that Craig Vanderborgh <craigv@voxware.com> has
arm-wince working and is willing to share. You could ask him for
code/pointers.
> How should I go about determining what's missing, and what is necessary
> to implement proper arm-linux support? This stuff feels under-documented.
>
But this should not surprise you. You have been doing quite a bit of
libgcj hacking.
You mentioned the major missing parts I think. It is an iterative
process. With MIPS I spent some time comparing the code generated for
x86 and mips to see where the missing parts were.
> Thanks.
No, thank you.
Please finish soon, it could save me a lot of work.
David Daney
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQEVAwUBRNkCpeRILCRAfKHCAQL0lgf/VMDzuRU5OHqh0TMDF8wATRlwAsiNCHX+
> O24LhwrFtFcieMvIlhz0jS2Wh7Nb3NpEtdltMvs7z49bCZZRbxUwfvr2rtsoMD7x
> LXe1Y+NkzoyI2G6oOM1cIuVsM/7s+gvrsuuS4D+72hKYM1E1+DUuakOwFhu3GSLX
> sh85W0KjkmCMxsEjrDvE8PUIEY3aIoqLf66JdthrbK3G3yoGP7cdbzukc8pIs6q1
> +mZmE4Xxkd7TRv2ozODf7xXKhvceRN3L5FEZC6tWOWqI5hXAIHzDwQgrxd1WZ1w2
> BS2i+2MmcrDXU2aBPv3lUQ0+Pro5TiAViig5zA9D7nyAYjxk8fn+eA==
> =xZ1/
> -----END PGP SIGNATURE-----
More information about the Java
mailing list