This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Building Kawa with cygwin and javac for win32


There is a problem when building kawa using cygwin for Win32
because of the pathname syntax of the javac command in Win32.

In Unix, javac need a classpath written CLASSPATH=xxx/yyy/zzz:ss
but Win32 need CLASSPATH=xxx\yyy\;ss
The biggest part of the problem is the use of the ; instead of the :

The solution that I propose is a cygwin wrapper for javac and java.

the cwjavac.c is a simple program which partially convert the pathname
from unix to win32 format. You MUST edit it to change the
global variable JAVAPATH to tell it where your JDK is.

the Makefile copy cwjava.exe in your cygwin /bin directory
with the names java.exe and javac.exe. It also copy /bin/cat.exe
to /bin/col.exe

Then you just have to type 'make' on the bash console of cygwin.
Then you're ready to compile kawa on Windoz.


Feature:
The command col using to build the doc is not available in cygwin.
The Makefile copy cat.exe to col.exe to let the make proceed
smoothly. As a result, the documentation is not properly built,
but it does not alter the building of the rest of kawa.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]