This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Using mips2java to compile GCC/GCJ
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Adam Megacz <adam at megacz dot com>, Cedric Berger <cedric at berger dot to>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 16 Dec 2003 15:40:57 -0600
- Subject: Re: Using mips2java to compile GCC/GCJ
- Reply-to: gnustuff at thisiscool dot com
Hi Cedric and Adam,
>>>...after javac chewed up up 120M of memory, I got this error:
>>
>>Did you try jikes?
>>
>I don't think Mohan hit a javac problem.
>I think the "i686_pc_mingw32_ld.java" file exceeds one of the
>limit of the java class file format. which one is the 10cents question.
>the solution would likely be to split that file...
Brian Alliet and I continued this discussion off list,
since I'm not sure it directly pertains to gcj. Brian
mentioned the massive int[] arrays as the culprit and
said he was working on storing this data as a string;
I tossed out the idea of storing these in an internal
.dat file and reading them via getResourceAsStream();
Brian seemed to like that and said he'd make it an option
to do either given that resources don't work with
gcj on Darwin....
I dug up an Eliza program I wrote 15 years ago when
I first starting learning C on my new job and converted
it into a .class file using mips2java. I'll post a
demo soon where I run this in a totally sandboxed applet.
I'll write this in AWT so that it can maybe run under
gcj.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/