This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JavaOne talk proposal: feedback?
- From: Adam Megacz <adam at megacz dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org, brian at xwt dot org
- Date: Thu, 20 Nov 2003 03:55:56 -0800
- Subject: Re: JavaOne talk proposal: feedback?
- Organization: Myself
- References: <E1AMm3p-0001YS-00@megacz.com> <3FBC9DA7.2090100@hotmail.com>
Ranjit Mathew <rmathew@hotmail.com> writes:
> what MIPS environment do you assume for this tool?
You statically link your own libc (we like newlib). We provide the
basic kernel syscall() interface which isn't much more than "open a
socket" and "open a file", etc. Each of these generally turns into a
one-line Java method in org.xwt.mips.Runtime (which is the superclass
of the compiler's output). Standard input/output become an
InputStream/OutputStream pair. You get a main(String[]) method that
maps to argv/argc. Credit goes to Brian Alliet for all these nice
touches.
Basically you get more-or-less-POSIX and whatever you choose to build
on top of that.
- a
--
"Education is not filling a bucket but lighting a fire." -- WB Yeats