class lib. For anyone interested, below is the workarounds I used:
1)
Unzip /usr/local/classpath/share/classpath/glibj.zip to
/usr/local/unzipped_glibj
2)
Unzip ....../jchevm/java/jc.zip to /usr/local/unzipped_jc
3)
In ......./jchevm/libjc/native/Makefile, replace the line:
JAVAH_CMD = $(JAVAH) -classpath
$(top_srcdir)/java/jc.zip:$(cpdir)/glibj.zip
with:
JAVAH_CMD = $(JAVAH) -classpath
/usr/local/unzipped_jc:/usr/local/unzipped_glibj
The above now allows ...../jchevm/Makefile to build jc.exe. In
specific, jcjavah.exe generates the expected *.h files and no longer
causes the build to abort.
Hmmm.. Probably I didn't need this steps because I had installed a lot
of optional packages
from cygwin installer offer.
Complete development packages and a lot of others including
+ gcc-core
+ gcc-g++
+ gcc-java
+ make
+ zip
+ GTK
+ pkgconfig
+ autocofig
+ automake
+ libtool
Probably I'm missing something in this list. That's only what I recorded.
As I remember first thing I did when build fails on not finding some package
I looked for missing one in cygwin installer.
Hi Waldon, Ivan and Archie
since I'm writing a brief but detailed HOWTO document that explains
how to get JCHEVM + Classpath-0.20 running on Cygwin, I need to know a
few things:
Waldon:
1. How come you had to make the workaround? Ivan built JCHEVM without it.
I need to know that because I would like the HOWTO to be as
universal as possible.
2. How long would it take to you to "adapt" JCHEVM to interface Classlib?
3. I figure that once you're done with the port, we'll have to build
Classlib on Cygwin. Right?
-----------------------------------------------------------------------------------------
Archie:
I noticed that Ivan introduced the macro __CYGWIN__. Did you merge the
macro in the source tree, or it exists only in Ivan's code?
Enrico