This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ on arm-linux


Casey> I'm looking into running GCJ on an arm-linux system, and from some
Casey> searching it looks as though we do not yet have full support for this
Casey> platform. Is this right?

Casey> My understanding is that some of the hairy bits for handling null
Casey> dereferences, and libffi, are currently missing. Is there anything else
Casey> missing?

Casey> How should I go about determining what's missing, and what is
Casey> necessary to implement proper arm-linux support? This stuff
Casey> feels under-documented.

Yeah, it is somewhat under-documented.  There are some docs on porting
on the web site, but they are fairly out of date.  These days I think
they can only be used as a kind of general overview of some of the
issues.

In addition to what David said ...

To find this info I start with libjava/configure.host.  There is a
comment near the top explaining the different variables that can be
set; then I look at the various case statements to see what is or is
not supported by the port.

This covers libffi as well, though I generally also take a quick look
at the target's ffitarget.h, to see if we somehow forgot to update
configure.host.


For locking you might consider using GCC's atomic builtins.  That is,
if these have been implemented for your target and actually are
suitable for use in the locking code :-)

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]