Compilation of shuJIT

last-modified: Mar 13 9:35 2002 JST

This page explains how to compile shuJIT.

Compilation needs some tools which isn't so popular and GNU binutils which can handle a.out on FreeBSD, so I recommend you use of binary distribution (shujit-*-bin-*).


A port is supplied for FreeBSD and the distribution page provides several binaries.

Required tools

Binary packages of most tools are available.
JDK 1.3.X, 1.2.X or 1.1.X
for Linux: Java-Linux
for FreeBSD: FreeBSD Java
Use Classic VM, not HotSpot VM, in case of JDK 1.3.X.
Specify the -classic option to java command or edit the jre/lib/jvm.cfg file of the JDK 1.3.
GCC 3.X, 2.9X or EGCS
You can confirm the version of your C compiler by the command `gcc -v'.
2.7.X will cause problems.
You cannot use those versions to compile shuJIT.
objdump command (in GNU binutils)
Most linux systems and FreeBSD 3.X and later have GNU binutils.
If you have to install it on FreeBSD 2.X, the configuration is required:
% ./configure --enable-targets=i386-freebsd,i386-netbsd
An object oriented script language.
GNU make


Run the configure script.
% ./configure
If you have a Pentium 4 processor and want to use SSE2 instructions, type
% ./configure --enable-sse2
Type `make'.
% make
Use GNU make. On FreeBSD, GNU make is installed as `gmake' command.
You'll get the shared library named `'.

Back to

Copyright (C) 1998,1999,2000,2001,2002 Kazuyuki Shudo
<shudo at>