Hi Mark and Dalibor, I've finally finished this detailed document, that explains how to build Classpath 0.20 on Cygwin. The following steps were tested on Windows XP Home and Win2000 Professional. Enrico 1. Download the latest version of the Cygwin installer ------------------------------------------------------ http://www.cygwin.com/setup.exe 2. Run the installer: setup.exe ----------------------------- Choose "Install from Internet" and follow the instructions until the installer prompts a Windows named: "Cygwin Setup - Select Packages" The installer has already selected the base packages to download, now you need to add some more packages. 3. Add the following packages to the download list --------------------------------------------------- Archive/zip Devel/gcc-g++ Devel/make Devel/automake 1.9 Devel/autoconfig 2.1 Devel/libtool 1.5 Devel/pkgconfig Devel/atk 1.5 (all files) Devel/pango (all files) Graphics/gtk2-x11 (all files) X11/gtk+ (all files) X11/gtk-engines X11/xorg-x11 (all files) Note that some packages may have been already selected by the installer. 4. Download jikes-1.22 ------------------------ http://prdownloads.sourceforge.net/jikes/jikes-1.22.tar.bz2?download 5. Unzip jikes-1.22.tar.bz2 with one of the following utilities ------------------------------------------------------------ winrar (Windows utility) tar (Cygwin utility: $tar -xjf jikes-1.22.tar.bz2) 6. Apply the following patch to the file .src/platform.cpp -------------------------------------------------------- http://sourceforge.net/tracker/index.php?func=detail&aid=1202863&group_id=128803&atid=712760 The patch is reported here: Index: src/platform.cpp ====================================== RCS file: /cvsroot/jikes/jikes/src/platform.cpp,v retrieving revision 1.47 diff -u -r1.47 platform.cpp --- src/platform.cpp 23 Mar 2004 14:03:56 -0000 1.47 +++ src/platform.cpp 16 May 2005 14:28:13 -0000 @@ -201,15 +201,6 @@ int SystemStat(const char* name, struct stat* stat_struct) { int result = ::stat(name, stat_struct); -#ifdef HAVE_SYS_CYGWIN_H - // - // Up through cygwin 1.3.10, the hash function which determines inodes - // was not strong enough, so java/net and java/nio occasionally get the - // same inode without this hack. - // - if (result == 0) - stat_struct -> st_ino += name[strlen(name) - 1]; -#endif // HAVE_SYS_CYGWIN_H return result; } 7. Build jikes-1.22 ------------------- $ ./configure $ make $ make install $ make clean 8. Download Classpath-0.20 ----------------------------- http://www.gnu.org/software/classpath/ 9. Unzip classpath-0.20.tar.gz with one of the following utilities --------------------------------------------------------------- winrar (Windows utility) tar (Cygwin utility) 10. Build Classpth-0.20 ------------------------ $ ./configure --with-jikes --enable-gtk-peer $ make $ make install $ make clean The install process will print quite a few Java and C warnings. Note also that, since jni is enabled by default, ---enable-jni is not needed. 11. The building process will install the Classpath library here ------------------------------------------------------------- /usr/local/classpath/share/classpath/glibj.zip --------------------------------- The End -------------------------------- The time required to do everything is about 30 minutes on a 1 GHz PC. If you are a developer, you might want to install the following packages, which, by the way, are not required to build Classpath: Devel/gdb (all files) Devel/ddd (all files) Devel/subversion (all files) gdb is the GNU command line debugger, ddd is the GUI front-end of gdb, and subversion is a utility to check-out and check-in the source code of a versioned project.