delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/04/13:19:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 4 Sep 2009 22:42:47 +0530
Message-ID: <b227db7b0909041012v237e4208p83def73b10045f3e@mail.gmail.com>
Subject: How stable is GCJ?
From: Sandeep Jindal <sandeep138 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I might be asking a very basic question, but could not find a concrete
answer to the above question anywhere.

I wanted to Native Compile a Java Program on Windows. Thought of using
GCJ and Cygwin. It worked great for a =93Hello world=94 program. I was
very happy.

My original program was written in Java5, but came to know that GCJ in
Cygwin does not support that (though GCJ does it now). I reworked on
my program and make it 1.4 compatible. I got error in Calendar class
and came to know that it is not supported well in GCJ.

Now my program is giving some strange errors (serialization is not
happening properly, though it works good at some places, program is
end at some place where as per me it should not).

I can spend time in debugging it, but my question/fear is that is GCJ
stable enough to spend time on it. My program uses Java's
Serialization, Collections and Math classes extensively, does GCJ has
good support for these?

Regards
Sandeep Jindal

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019