From bcf7c0639c3369be1a113b70d5b58adab312eea6 Mon Sep 17 00:00:00 2001
From: Joel Dice <joel.dice@gmail.com>
Date: Mon, 16 Aug 2010 09:37:44 -0600
Subject: [PATCH] clarify GNU Classpath build instructions in readme.txt

---
 readme.txt | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/readme.txt b/readme.txt
index 78bad0048a..7ccd3d5cd4 100644
--- a/readme.txt
+++ b/readme.txt
@@ -201,9 +201,18 @@ By default, Avian uses its own lightweight class library.  However,
 that library only contains a relatively small subset of the classes
 and methods included in the JRE.  If your application requires
 features beyond that subset, you may want to tell Avian to use GNU
-Classpath instead.  To do so, specify the directory where Classpath is
+Classpath instead.  In order for this to work, you must configure
+Classpath with "--enable-static" and "--with-pic".  For example:
+
+ $ cd classpath-0.98
+ $ ./configure --prefix=/usr/local/classpath-0.98 --disable-plugin \
+   --enable-static --with-pic
+ $ make && make install
+
+Then, when building Avian, specify the directory where Classpath is
 installed, e.g.:
 
+ $ cd ../avian
  $ make clean
  $ make gnu=/usr/local/classpath-0.98