From owner-freebsd-java Mon Aug 20 17:49:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id EFFAB37B407 for ; Mon, 20 Aug 2001 17:49:08 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.178] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15Yzj9-0006KO-00; Mon, 20 Aug 2001 18:49:08 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7L0n3V13211; Tue, 21 Aug 2001 10:19:03 +0930 (CST) (envelope-from glewis) Date: Tue, 21 Aug 2001 10:19:02 +0930 From: Greg Lewis To: Joe Kelsey Cc: Greg Lewis , Carlo Dapor , freebsd-java@FreeBSD.ORG Subject: Re: SOLVED: Successful JDK 1.3.1 build with little modification Message-ID: <20010821101900.A13163@misty.eyesbeyond.com> References: <20010820151823.C014F275B6@naboo.ethz.ch> <20010821094301.A12799@misty.eyesbeyond.com> <15233.44066.783173.845740@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15233.44066.783173.845740@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Mon, Aug 20, 2001 at 05:32:34PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 20, 2001 at 05:32:34PM -0700, Joe Kelsey wrote: > Greg Lewis writes: > > Well, whatever the reason, I've just completely pulled these lines > > from Defs-bsd.gmk. > > I made a different fix, > > LDFLAGS_COMMON = -Wl,'-z defs' > > to pass the flag through to ld. Why do we want to pass a flag to ld which it ignores and which is purely there for Solaris compatibility? > I also made changes to produce the correct value for the freespace > computation. I also modified the master make file: Patchset 3 is building...you might want to compare your changes against the one in it and send patches if they are better/different :). > MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ > ALT_MOTIF_DIR="${X11BASE}" \ > ALT_HOTSPOT_CLIENT_PATH=$(ALT_BOOTDIR)/jre/lib/i386/client \ > ALT_HOTSPOT_SERVER_PATH=$(ALT_BOOTDIR)/jre/lib/i386/server \ > OPENWINHOME="${X11BASE}" \ > COMPILER_PATH=/usr/bin \ > CLASSPATH="" \ > JAVA_COMPILER="" > > I added ALT_HOTSPOT variables and COMPILER_PATH. I am not sure why > COMPILER_PATH was not being set by the regular files. I also modified > sanityck to remove the check for hotspot debug libraries, since they do > not seem to exist in the Linux jdk131. We actually don't want the check for HotSpot at all at the moment since there is no FreeBSD version available at the moment. I've if'ed this out for patchset 3. I'll put it back in when HotSpot is ported. The COMPILER_PATH check would be useful. Please send the patch :). > However, the Mozilla Plugin does not seem to be compiled. What do I > need to du to get it compiled? Well, the comments in the earlier distribution from Sun indicated that you should build the complete JDK images first (I didn't look into why this is, but you certainly at least need a JDK built). So, what I've done is: make make images make plugin However, the main problem is that I haven't committed the patches I have to build the plugin yet as they aren't ready. If you are interested in working on the plugin then please let me know. Your other option is to wait for patchset 4, which will probably include the patches to build the plugin. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message