This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Setting up GCJ to cross compile to Tandem NSK
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Matt Secoske <secoskem at gmail dot com>
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: Thu, 21 Oct 2004 15:41:10 +0530
- Subject: Re: Setting up GCJ to cross compile to Tandem NSK
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=IqhVAxXFOChRtaw2Umoi7mp3dnPMNWDqRXLBqGqSbQMYvMbnlqaG+ZwfEdIlMMWetShDCBb/jeHuq5K7WQSlQNaca0R7TD0xu5QwEZWVIEXnco2n7AdKOEPfVDuhITkQLq0t7AQlgKTMsaLPM15IMrbe0nDzI6NY+KN9z/Ws08M=
- References: <a12b5caf041019143337bda48f@mail.gmail.com> <4175F9DC.10708@gmail.com> <a12b5caf04102007403c41d4bd@mail.gmail.com> <m31xftxae3.fsf@localhost.localdomain>
- Reply-to: Ranjit Mathew <rmathew at gmail dot com>
> There's probably a fair amount to do to port gcj to this platform.
> You'll have to port the garbage collector, the thread layer, and the
> other platform-specific native code. This might be hard or easy
> depending on how similar your OS is to existing ports. For best
> results (i.e., JNI support, interpreter support) you will need to port
> libffi (assembly hacking required). On some platforms we can catch a
> SEGV and turn it into a NullPointerException; this also requires
> special code to be written for your target.
Some of the information (albeit slightly dated) can
be found in the section "Porting the GCJ runtime" of:
http://gcc.gnu.org/java/docs.html
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/