1 |
Installing GNU Classpath - Last updated: Feb. 07, 2002 |
Installing GNU Classpath - Last updated: Feb. 09, 2002 |
2 |
|
|
3 |
First, this is a development release only! Unless you are interested in |
First, this is a development release only! Unless you are interested in |
4 |
active development and debugging, or just like running random alpha code, |
active development and debugging, or just like running random alpha code, |
15 |
- GNU automake 1.5 |
- GNU automake 1.5 |
16 |
- GNU libtool 1.4.2 |
- GNU libtool 1.4.2 |
17 |
|
|
18 |
For building the Java bytecode (.class files) |
For building the Java bytecode (.class files), one of these |
19 |
|
compilers are required. You can select which compiler using |
20 |
- IBM jikes 1.13 (newer versions up to 1.15 appear to be broken) |
--with-jikes, --with-gcj or --with-kjc as argument to |
21 |
or GCJ 3.0.2+. The kjc compiler is supported with configure |
configure; the present default is gcj. The javac compiler |
22 |
but we have been unable to successfully compiled with it. |
included in any of Sun's JDKs will not work, as it will not |
23 |
Jikes is currently the default compiler. You can select the |
compile java.lang.Object. |
24 |
compiler using --with-jikes, --with-gcj or --with-kjc as argument |
|
25 |
to configure. |
- GCJ 3.0.2+ (part of the GNU GCC package). Note that GCC |
26 |
|
3.1 (from CVS) is currently broken, if you do want to use it |
27 |
Note that GCC 3.1 (from CVS) is currently broken, if you do |
look at the status of the following bug: |
|
want to use it look at the status of the following bug: |
|
28 |
<http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gcc&pr=4715> |
<http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gcc&pr=4715> |
29 |
Applying the patch in that report to gcc/jva/parse.y does seem to |
Applying the patch in that report to gcc/jva/parse.y does |
30 |
solve/work around the problem. |
seem to solve/work around the problem. |
31 |
|
- IBM jikes 1.15b+. You may have success with 1.13, but other |
32 |
|
versions will fail. Until jikes 1.16 is released, you will |
33 |
|
have to use CVS access and build jikes 1.15b yourself: |
34 |
|
cvs login :pserver:anoncvs@www-124.ibm.com:/usr/cvs/jikes |
35 |
|
(password anoncvs) |
36 |
|
cvs co -r v1-15b jikes |
37 |
|
- The kjc compiler is supported with configure but we have |
38 |
|
been unable to successfully compile with it. |
39 |
|
|
40 |
For building the JNI native libraries, the following are required. |
For building the JNI native libraries, the following are required. |
41 |
|
|
90 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
91 |
Misc. Notes |
Misc. Notes |
92 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
93 |
Use of Sun's compiler is deprecated and probably does not work. At |
Compilation is accomplished using a compiler's @file syntax. For our |
94 |
least three free compilers are supported: gcj, jikes, and kjc. |
part, we avoid placing make style dependencies as rules upon the |
95 |
|
compilation of a particular class file and leave this up to the Java |
96 |
Compilation is accomplished using a compiler's @file syntax. For our part, |
compiler instead. |
|
we avoid placing make style dependencies as rules upon the compilation |
|
|
of a particular class file and leave this up to the Java compiler instead. |
|
97 |
|
|
98 |
The --enable-maintainer-mode option to configure currently does very |
The --enable-maintainer-mode option to configure currently does very |
99 |
little and shouldn't be used by ordinary develoeprs or users anyway. |
little and shouldn't be used by ordinary develoeprs or users anyway. |
100 |
|
|
101 |
|
On Windows machines, the native libraries do not currently build, but |
102 |
|
the Java bytecode library will. Unfortunately, as gcj does not yet |
103 |
|
compile under cygwin or mingw32, and the mingw32 version of jikes |
104 |
|
cannot follow symbolic links, you must use a cygwin build of jikes to |
105 |
|
access this limited functionality. |