[kaffe] --enable-pure-java-math not working yet

Timothy Stack stack at cs.utah.edu
Thu Jan 23 10:05:01 PST 2003


hi,

The --enable-pure-java-math option doesn't seem to work quite right yet.  
When trying to link the main executable it can't find libmath since it was 
edited out of the build process.  I think you just need to change 
configure.in to leave libmath out of the JAVA_LIBS variable if pure java 
math is turned on.

JAVA_LIBS=" \
\$(top_builddir)/libraries/clib/native/libnative.la \
\$(top_builddir)/libraries/clib/net/libnet.la \
\$(top_builddir)/libraries/clib/io/libio.la \
\$(top_builddir)/libraries/clib/zip/libzip.la \
\$(top_builddir)/libraries/clib/math/libmath.la \
\$(top_builddir)/libraries/clib/management/libmanagement.la \
\$(top_builddir)/libraries/clib/security/libsecurity.la \
\$(top_builddir)/libraries/extensions/microsoft/clib/libmicrosoft.la \
$AWT_LIB \
$JAVA_LIBS \
"

changes to:

JAVA_LIBS=" \
\$(top_builddir)/libraries/clib/native/libnative.la \
\$(top_builddir)/libraries/clib/net/libnet.la \
\$(top_builddir)/libraries/clib/io/libio.la \
\$(top_builddir)/libraries/clib/zip/libzip.la \
$MATH_LIB \
\$(top_builddir)/libraries/clib/management/libmanagement.la \
\$(top_builddir)/libraries/clib/security/libsecurity.la \
\$(top_builddir)/libraries/extensions/microsoft/clib/libmicrosoft.la \
$AWT_LIB \
$JAVA_LIBS \
"

(I'd submit a patch but i hate messing with autoconf/automake stuff...)

thanks,

tim stack




More information about the kaffe mailing list