Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 10:19:02 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        Greg Lewis <glewis@eyesbeyond.com>, Carlo Dapor <carlo@vis.ethz.ch>, freebsd-java@FreeBSD.ORG
Subject:   Re: SOLVED: Successful JDK 1.3.1 build with little modification
Message-ID:  <20010821101900.A13163@misty.eyesbeyond.com>
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
References:  <20010820151823.C014F275B6@naboo.ethz.ch> <20010821094301.A12799@misty.eyesbeyond.com> <15233.44066.783173.845740@zircon.zircon.seattle.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010821101900.A13163>