gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Crypto] FYI. was: new make plumbing


From: Raif S. Naffah
Subject: [GNU Crypto] FYI. was: new make plumbing
Date: Tue, 30 Sep 2003 05:26:26 +1000
User-agent: KMail/1.5.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hello all,

On Mon, 29 Sep 2003 06:27 pm, Raif S. Naffah wrote:
> On Mon, 29 Sep 2003 01:54 am, Casey Marshall wrote:
> > ...
> > I'm not sure what you mean, but `bootclasspath' is meaningless in
> > general. Other VMs don't support things like -Xbootclasspath.
>
> but they have some equivalent form; e.g. kissme.  have you tried
> using kissme as the VM with this new build?

i checked in new versions of Makefile.am and Makefile.in under source
(toplevel), and tried building the library (no-gcj-friendly) version 
with the new make mechanism and here are the results of my attempts:

1. with sun's jdk --both java and javac in $PATH:

$ rm -rf *
$ ../../workspace/cvs/gnu-crypto/init.sh
$ ./configure JAVAFLAGS="-Xbootclasspath/p:../jce/javax-crypto.jar" 
JAVAC=javac JAVA=java CLASSPATH=.
$ make check

(0 of 3959 tests failed)

2. with jikes and kissme --see later about 'bizoux':

$ rm -rf *
$ ../../workspace/cvs/gnu-crypto/init.sh
$ ./configure JAVAC=jikes JAVA=bizoux 
CLASSPATH=.:/usr/java/j2sdk1.4.2_01/jre/lib/rt.jar
$ make check CLASSPATH=.:/usr/java/j2sdk1.4.2_01/jre/lib/rt.jar

(hangs)

3. with jikes and Jikes RVM --both jikes and rvm in $PATH

$ rm -rf *
$ ../../workspace/cvs/gnu-crypto/init.sh
$ ./configure JAVAC=jikes JAVA=rvm 
CLASSPATH=.:/usr/java/j2sdk1.4.2_01/jre/lib/rt.jar
$ make check CLASSPATH=.:/usr/java/j2sdk1.4.2_01/jre/lib/rt.jar

(36 of 1487 tests failed)


* bizoux is my version of a script to run kissme with the right options,
hacked from the launcher supplied in the kissme project.  here it is:

- -----
#! /bin/sh

export KISSME_HOME=/data/workspace/cvs/kissme

BOOT_CLASSPATH=/data/workspace/cvs/kissme/classes.zip:/usr/local/classpath/share/classpath/glibj.zip
GNU_JNI=/data/workspace/cvs/classpath/native/jni
GNU_CLASSPATH_INSTALL_DIR=/usr/local/classpath

if [ -d ${GNU_CLASSPATH_INSTALL_DIR:-/dev/null}/lib/classpath ] ; then
  export 
LD_LIBRARY_PATH=${GNU_CLASSPATH_INSTALL_DIR}/lib/classpath:/usr/local/gcc-3.4/lib
elif [ -d ${GNU_JNI} ] ; then
  export 
LD_LIBRARY_PATH=$GNU_JNI/gtk-peer/.libs:$GNU_JNI/java-io/.libs:$GNU_JNI/java-lang/.libs:$GNU_JNI/java-net/.libs:$GNU_JNI/java-util/.libs:/usr/local/gcc-3.4/lib
else
  echo Cannot find the GNU Classpath shared libraries
fi

# Note: given the way that kissme option parsing is done, a user
# supplied -bootclasspath option will override the one we prepend
# when invoking the program below.

echo "Using bootclasspath="$BOOT_CLASSPATH
$KISSME_HOME/kissmebin -bootclasspath "$BOOT_CLASSPATH" $*
- -----

* $ java -version
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)

* $ bizoux -version
Using 
bootclasspath=/data/workspace/cvs/kissme/classes.zip:/usr/local/classpath/share/classpath/glibj.zip
kissme 0.0.31 (Sep 28 2003) - This program is free software

* $ gcc -v
Reading specs from 
/usr/local/gcc-3.4/bin/../lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: ../gcc/configure --enable-shared --enable-threads=posix 
- --prefix=/usr/local/gcc-3.4/ --enable-languages=c,c++,java : 
(reconfigured)
Thread model: posix
gcc version 3.4 20030927 (experimental)

* $ rvm -version
BaseBaseSemiSpace Jikes RVM 2.3.0.1+CVS head using GNU Classpath 
0.06+cvs


cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE/eIdj+e1AKnsTRiERA8JzAKDnce5s2DsCunIA3Rvc/2Bi6MRXbACdF4EP
lEve/kfMAifMcmKb9dmYEoE=
=Sn7c
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]