From owner-freebsd-gnome@FreeBSD.ORG Tue Aug 9 21:35:55 2005 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D6D816A442; Tue, 9 Aug 2005 21:35:54 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 615B7442BE; Tue, 9 Aug 2005 21:08:05 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j79L7qLE088436; Tue, 9 Aug 2005 15:07:52 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j79L7p7d088435; Tue, 9 Aug 2005 15:07:51 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 9 Aug 2005 15:07:51 -0600 From: Greg Lewis To: "Mikhail T." Message-ID: <20050809210751.GA88416@misty.eyesbeyond.com> References: <200508060505.j7655frX045444@blue.virtual-estates.net> <20050809052027.GA43606@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050809052027.GA43606@misty.eyesbeyond.com> User-Agent: Mutt/1.4.2.1i Cc: gnome@FreeBSD.org, java@FreeBSD.org, glewis@FreeBSD.org, phantom@FreeBSD.org Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 21:35:55 -0000 On Mon, Aug 08, 2005 at 11:20:27PM -0600, Greg Lewis wrote: > On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote: > > Looking deep into Mozilla's LiveConnect sources (under > > mozilla/sun-java/stubs/include/) I gather, jint really > > wants to be intptr_t -- not a mere int as, for example, > > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > > > Can anyone comment? Thanks! > > I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment. > It hasn't gotten to the plugin build yet, but I'll be interested to see > (a) if there are warnings about pointer widths and (b) if it works :). Following up my own e-mail... As it turns out, the plugin and javaws build is specifically disabled on non-32 bit architectures at the moment. Probably mostly to do with the issues we've talked about. I played around a bit and got it to build, but there are numerous warnings about casting between pointers and integers of different sizes. Not surprisingly the resultant plugin blows up when you try and use it. I think this is going to take a bit of work to get sorted out. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org