Date: Mon, 20 Aug 2001 17:18:23 +0200 (CEST) From: carlo@vis.ethz.ch (Carlo Dapor) To: freebsd-java@freebsd.org Subject: SOLVED: Successful JDK 1.3.1 build with little modification Message-ID: <20010820151823.C014F275B6@naboo.ethz.ch>
next in thread | raw e-mail | index | archive | help
Dear Java aficionados
Just wanted to let You know that I was able to build the JDK 1.3.1, without
the weird setup I posted previously.
That's right, not more INSANE or LINK.{c,cc} or the like.
It turns out that just uncommenting '-z defs' in make/common/Defs-bsd.mk does
all the magic for me. Also, as Greg has mentioned earlier, the generation of
invokers.c does not require any hack anymore.
The lines around 240 in make/common/Defs-bsd.mk lok like this now:
fneq ($(LIBRARY),JdbcOdbc)
ifneq ($(ARCH),ppc)
LDFLAGS_COMMON = #-z defs
endif # LIBRARY
endif # ARCH
Is my Current shaky, or is anyone else having similar symptoms on Current ?
Ciao, derweil,
--
Carlo
PS: The man pages for gcc mention that '-z defs' is meant to silence warnings
of unresolved symbols if switched on. But there seems to be more to it,
both system gcc (2.95.1) and most recent gcc (3.0) have the exact same
behaviour for me when building the JDK.
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?20010820151823.C014F275B6>
