From owner-freebsd-java  Tue Feb  2 05:04:22 1999
Return-Path: <owner-freebsd-java@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id FAA11366
          for freebsd-java-outgoing; Tue, 2 Feb 1999 05:04:22 -0800 (PST)
          (envelope-from owner-freebsd-java@FreeBSD.ORG)
Received: from iglou.com (iglou3.iglou.com [192.107.41.6])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA11360
          for <freebsd-java@freebsd.org>; Tue, 2 Feb 1999 05:04:21 -0800 (PST)
          (envelope-from patrick@cre8tivegroup.com)
Received: from [204.255.227.147] (helo=gateway.cre8tivegroup.com) 
	by iglou.com with esmtp (8.9.1/8.9.1)
	id 107fUG-00057D-00; Tue, 2 Feb 1999 08:03:28 -0500
Message-ID: <XFMail.990202080346.patrick@cre8tivegroup.com>
X-Mailer: XFMail 1.3 [p0] on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.BSF.4.05.9902012017090.5119-100000@misery.sdf.com>
Date: Tue, 02 Feb 1999 08:03:46 -0500 (EST)
From: Patrick Gardella <patrick@cre8tivegroup.com>
To: Tom <tom@sdf.com>
Subject: RE: tya on FreeBSD?
Cc: freebsd-java@FreeBSD.ORG
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Yes, I have.  You need to modify the configure file.

First change line 869 from:
        java*1.1.7*)
to something like:
        java*1.1.7Linux*)

It doesn't really matter, since we need the java*1.1.7* somewhere else, we just
don't want it to interfere (like it does).

Then change line 917 from:
        java*Freebsd:02/25/98*)
to:
        java*1.1.7*)


Then run gmake.  That builds it fine.  You'll get warnings about tyaruntime.c
(like you noticed).  But if you look closely, they're only warnings, not
errors, so it does build libtya.so just fine.  Install that (I used gmake
install) in /usr/local/lib and set JAVA_COMPILER in your env variables, and off
you go!

Patrick



On 02-Feb-99 Tom wrote:
> 
>   I though the tya JIT 1.2v3 on FreeBSD was easy.  During compilation, I
> got a lot of warning, and it finally died on tyaasm.S with "alignment too
> large".  I had modified the configure.in file to setup detection of the
> jdk (I'm using the latest 1.1.7 build).
> 
>   I don't think the "FREEBSD" define is making it to the Makefile though.
> I added a "-DFREEBSD" to the Makefile, and got it to build a little
> farther before it died complaining of imcompatible pointer types in
> "tyaruntime.c"
> 
>   Anyone got tya to work?
> 
> Tom

---
Patrick S. Gardella                    Director of Web Development 
The Creative Group    1-800-804-0783 ext 29     606-858-8029 (fax)    
http://www.cre8tivegroup.com                 PGP Key ID 0xEE2D47A9

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message