This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Build (newest) problems under Cygwin 1.6
- To: kawa at sourceware dot cygnus dot com
- Subject: Build (newest) problems under Cygwin 1.6
- From: David Chase <chase at world dot std dot com>
- Date: Tue, 27 Feb 2001 09:59:52 -0500
- References: <David Chase's message of "Mon, 26 Feb 2001 21:45:25 -0500"><4.3.2.7.0.20010226214028.024d4e90@pop.std.com>
These are both duplicates of an earlier message from last
August, but I have a possible solution to one of them.
"col" is still missing, so the doc build cannot go.
Not a large problem, though it messes up the by-the-book
installation.
The Cygwin classpath problem remains in the gnu.* packages.
I worked around this by changing the definition from
CLASSPATH_ENV = CLASSPATH=$(JAVAROOT):$(srcdir)/$(JAVAROOT):$$CLASSPATH
to
CLASSPATH_ENV = CLASSPATH=\"$(JAVAROOT)\;$(srcdir)/$(JAVAROOT)\;$$CLASSPATH\"
Forward slashes work just fine on java on Windows -- the question,
instead, is whether the escaped semicolons work as well under Unix.
If so, then we have a general solution. I don't have a Unix box
handy, but it shouldn't be hard to test -- just try something like
CLASSPATH=.\;HelloDir java Hello
in the parent directory of HelloDir which contains Hello.class,
compiled from Hello.java:
class Hello {
public static void main(String[] args) {
System.out.println("Hello World");
}}
David Chase