1 |
Installing GNU Classpath - Last updated: January 6, 2005 |
Installing GNU Classpath - Last updated: September 7, 2005 |
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, |
28 |
|
|
29 |
For building the Java bytecode (.class files), one of these |
For building the Java bytecode (.class files), one of these |
30 |
compilers are required. You can select which compiler using |
compilers are required. You can select which compiler using |
31 |
--with-jikes, --with-gcj or --with-kjc as argument to |
--with-jikes, --with-gcj, --with-ecj or --with-kjc as argument to |
32 |
configure; the present default is gcj. |
configure; the present default is gcj. |
33 |
|
|
34 |
- GCJ 3.3+ (part of the GNU GCC package). |
- GCJ 4.0+ (part of the GNU GCC package). |
35 |
- IBM jikes 1.19+. |
- IBM jikes 1.19+. |
36 |
|
- Eclipse Compiler for Java 3.1+ |
37 |
- The kjc compiler is supported with configure but we have |
- The kjc compiler is supported with configure but we have |
38 |
been unable to successfully compile with it. |
been unable to successfully compile with it. |
39 |
|
|
40 |
|
IMPORTANT: Versions of GCJ which are earlier than 4.0 contain |
41 |
|
bugs which make it impossible to compile the class library and |
42 |
|
are *not* supported any more. If you are stuck on a system where |
43 |
|
GCC 3.x is the system compiler we recommend using Jikes. |
44 |
|
|
45 |
For building the gtk+ AWT peer JNI native libraries, the following |
For building the gtk+ AWT peer JNI native libraries, the following |
46 |
are required unless --disable-gtk-peer is used as an argument to |
are required unless --disable-gtk-peer is used as an argument to |
47 |
configure. |
configure. |
54 |
For building the Cairo GdkGraphics2D backend you need at least |
For building the Cairo GdkGraphics2D backend you need at least |
55 |
Cairo 0.5.0. |
Cairo 0.5.0. |
56 |
|
|
57 |
For building the xmlj JAXP implementation (dsabled by default, use |
For building the Qt AWT peer JNI native libraries you have to |
58 |
|
specify --enable-qt-peer and need the following library: |
59 |
|
|
60 |
|
- Qt 4.0.1 |
61 |
|
|
62 |
|
Please note that at the moment most operating systems do not |
63 |
|
ship Qt4 by default. We recommend using GNU Classpath' Qt4 |
64 |
|
support only for its developers and bug reporters. See |
65 |
|
http://developer.classpath.org/mediation/ClasspathShowcase |
66 |
|
for details on how to get it to work. |
67 |
|
|
68 |
|
For building the xmlj JAXP implementation (disabled by default, use |
69 |
configure --enable-xmlj) you need the following installed: |
configure --enable-xmlj) you need the following installed: |
70 |
- The XML C library for Gnome (libxml2) |
- The XML C library for Gnome (libxml2) |
71 |
http://www.xmlsoft.org/ |
http://www.xmlsoft.org/ |
91 |
--enable-jni compile JNI source default=yes |
--enable-jni compile JNI source default=yes |
92 |
--enable-gtk-peer compile GTK native peers default=yes |
--enable-gtk-peer compile GTK native peers default=yes |
93 |
--enable-gtk-cairo compile cairo based Graphics2D default=no |
--enable-gtk-cairo compile cairo based Graphics2D default=no |
94 |
|
--enable-qt-peer compile Qt4 native peers default=no |
95 |
|
--enable-default-toolkit |
96 |
|
fully qualified class name of default AWT toolkit |
97 |
|
default=no |
98 |
|
--enable-xmlj compile native libxml/xslt library default=no |
99 |
--enable-load-library enable to use JNI native methods default=yes |
--enable-load-library enable to use JNI native methods default=yes |
100 |
--with-jikes to compile the class library using jikes |
--with-jikes to compile the class library using jikes |
101 |
the default is to use gcj |
the default is to use gcj |
105 |
any compiler warning into a compilation failure |
any compiler warning into a compilation failure |
106 |
default=no |
default=no |
107 |
--enable-xmlj compile native libxml/xslt library default=no |
--enable-xmlj compile native libxml/xslt library default=no |
108 |
--with-gjdoc generate documentation using gjdoc default=no |
--with-gjdoc generate documentation using gjdoc default=no |
109 |
--with-jay Regenerate the parsers with jay must be given the |
--with-jay Regenerate the parsers with jay must be given the |
110 |
path to the jay executable |
path to the jay executable |
111 |
|
|