From owner-freebsd-java Tue Jul 17 13:52:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from naboo.ethz.ch (naboo.ethz.ch [129.132.17.66]) by hub.freebsd.org (Postfix) with ESMTP id 0AC2537B406 for ; Tue, 17 Jul 2001 13:52:15 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id BA7D6275B7; Tue, 17 Jul 2001 22:52:13 +0200 (CEST) Subject: Re: Porting JDK1.2.2 to OpenBSD To: glewis@eyesbeyond.com (Greg Lewis) Date: Tue, 17 Jul 2001 22:52:13 +0200 (CEST) Cc: stuartb@abs.karoo.co.uk (Stu Brown), freebsd-java@FreeBSD.ORG In-Reply-To: <20010718055810.A46398@misty.eyesbeyond.com> from "Greg Lewis" at Jul 18, 2001 05:58:10 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010717205213.BA7D6275B7@naboo.ethz.ch> From: carlo@vis.ethz.ch (Carlo Dapor) 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 Dear Greg This is not a notice of volounteerring. My environment is a FreeBSD-current machine (as of July 12th). Now, I have followed all the instructions in the BUILD files etc. It is not the first time I build a JDK, I did successfully build JDK 1.2.2 before. For the record, I have been porting GNU software to various platforms since 1991. Yet, I seem to miss a point here. I get all sorts of hurdles, which I try to cleanly fix. Right now, I don't get sun/javac/javac to build, because libjava.so accesses all sorts of mathematical functions (jtan, jsin, etc). I see that javac depends on -ljvm, -ljava and -lverify. Which of these ones should be linked against -lfdlibm ? My guess is it has to be -ljvm. My source tree is rooted in /tmp/j2sdk. Th reason why I get this is probably because I call the build process with the following line: setenv LIBj /tmp/j2sdk/j2sdk1.3.1/build/build-i386/lib gmake -C j2sdk1.3.1/make LINK.c=gcc LINK.cc=g++ \ OTHER_LDLIBS="-L$LIBj -L$LIBj/classic -L$LIBj/green_threads" If I don't overwrite LINK.c, I don't get too far, in fact, the very first shared library does not get build, since LINK.c, as it is pre-defined, and called via the Makefile, tries to build an executable. I am aware of the fact that if I redefine OTHER_LDLIBS, most targets are affected by it. Did You run into this situation so far ? Maybe You can direct me into the rightr direction. Thanks ! Ciao, derweil, -- Carlo > > On Tue, Jul 17, 2001 at 11:52:15AM +0100, Stu Brown wrote: > > I've been trying to port jdk1.2.2 to OpenBSD, without much success. I heard > > that there's some new patches available which might work, would you be able > > to help me out? > > There aren't new patches at this time, however there is work underway on > porting to to OpenBSD by the BSD Java porting team. Progress has been > made, but the code still dies in the JVM creation function at the moment. > > If you're interested in helping and have time available to do so then > let me know. > > Hopefully I'll get time for a new 1.2.2 patchset within the next couple > of weeks. This will at least contain some progress on an OpenBSD port. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Mobile: 0419 868 494 > 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 > -- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia Comment: requires PGP version 2.6 or later mQENAzQOnboAAAEIALnpSTc5y2g21CIX5V9bMqxsixXpQZDyR3hGosGsPC8S0WXP xfJiXAw/Zq3sPZhmiGZWq8/QP/d69tm4ert6rGB5Vuue96beKei4iemBF1ZpTU9G 3/tLsL63GHTLDAf+jqNcp1xM5ORF+qkFqP1ForzED06ba7HPQomzD0uhPbczHr9p vLAsczg1Wm9op06m7VTgK/hEvOJZPdxu0i2mFC2KVmRJr/KLcjs4CyEt6S8cJk8F Q3vDOOvwa+j/AHkvejBYokNYbfA+5D6bbYmNl5GxsKmY/qxamEaPWy7lZ87v8J0E CwnfzxiFPlguHCAux3u388EWqGWyAqOeROtKqL0ABRG0JkNhcmxvIERhcG9yIDxk YXBvckBuZXNzaWUuaW5mLmV0aHouY2g+iQEVAwUQNA6dugKjnkTrSqi9AQH3kAf/ T7dFJl6YQbUKSwTxNX/rERk2W010j2fH1bkbgOOfEfvQ6LiIRJYmJQCgeehP8kEU V66vSPboGsjl+8wU5CdlmoPsf7xw94Dh+uI48/CKLFAu+Rq2lonQOuzSvEDGg1P0 pU4UyCdj5i+y89jS+wBNA/yG6wsEGWMVltWqB2UKSg1n3YbA8JqaO2x9JLtIzfoB J/jhl5Jl4kX8OJzX1XVlJTxYdu9PTwaTZP68EG6NNfEyCn5Fp6iSDtUrLms1pI5i 3U282bIhBgVXr19hVS2olqTUHGdgcRqFjcnrARIBKoB9stuKj1+ORqlDiLwJfvg5 6JNSM4HFutk/iftKBqYXhQ== =XYxp -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message