This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Java Development with GCJ
- From: "David Daney" <david dot s dot daney at gmail dot com>
- To: "Daniel B. Davis" <dbd at smart dot net>
- Cc: gcc at gcc dot gnu dot org, "Yale Landsberg" <yale at synclecron dot com>
- Date: Sun, 10 Aug 2008 19:15:31 -0700
- Subject: Re: Java Development with GCJ
- References: <6.2.3.4.2.20080810211957.0481a140@pop3.smart.net>
On Sun, Aug 10, 2008 at 6:28 PM, Daniel B. Davis <dbd@smart.net> wrote:
> Hello --
>
> I am acting for a friend with a java application who needs to run it on a
> microcontroller. Though aware of GC, I only recently learned of GCJ.
>
> Accordingly, I am looking for developer resources using GCJ for
> microcontrollers. Anyone, manufacturer, developer, or hobbyist who has put
> forward the effort to define the microcontroller hardware for GCJ so that
> effective compilation may be done.
>
It depends on the microcontroller. If it is well supported by GCC and
runs Linux and glibc, then if GCJ/libgcj are not already working it
would be fairly simple to get it working. If it does not meet these
criteria, then it may be more difficult.
> Additionally, since one of the main show stoppers is the Java class
> libraries, I would also be interested in any efforts to convert the class
> libraries, on some basis, for microcontroller usage. Clearly this cannot be
> a direct compilation in all cases, especially for graphics, but any such
> activity may beat starting from square one.
>
GCC ships with a fairly complete java runtime library (libgcj).
David Daney