This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [ecj] Error compiling executable on i686-pc-linux-gnu
- From: Tom Tromey <tromey at redhat dot com>
- To: gnustuff at thisiscool dot com
- Cc: java at gcc dot gnu dot org
- Date: 05 Dec 2006 23:10:58 -0700
- Subject: Re: [ecj] Error compiling executable on i686-pc-linux-gnu
- References: <A5KERN827371FDPLTSMXW63ECDHB84.457648d9@d9300>
- Reply-to: tromey at redhat dot com
>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
Mohan> I tried to build a Linux gcj and then do:
Mohan> gcj --main=HelloJ5 -o HelloJ5 HelloJ5.java
Mohan> A .class file gets generated in the current directory
Mohan> (and this runs okay with gij), but instead of getting
Mohan> an executable, I get:
Mohan> /tmp/ccmCwrnA.jar:0: error: malformed .zip archive in CLASSPATH: /tmp/ccip4wgn.zip/
Mohan> I'm not seeing either the .jar or .zip in /tmp.
Mohan> Any ideas?
Try with -save-temps. gcj now creates a temporary .jar and temporary
.zip file to hold intermediate .class results.
Tom