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: Using mips2java to compile GCC/GCJ


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/




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