From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Cherel To: cygwin Subject: Unix make mode and Java on NT Date: Tue, 31 Aug 1999 23:49:00 -0000 Message-ID: <7009EDD9FFA0D111A03400A0C91F3D2E013D9B30@goliath.unidata.com> X-SW-Source: 1999-08n/msg00240.html Message-ID: <19990831234900.SkdfDCSgIEKpfMJObm0FCDeaQEIeVna2IEq8S1EzaCc@z> Hi there, I'm new with cygwin and I'm currently trying to write a Makefile NT/Unix compatible to compile a java application. Here is a couple of things I had to do or which are causing me problems. Anybody has any ideas to make it better or work, specially point 3) ? Thanks in advance. 1) For the CLASSPATH, I already have a PATH_SEPARATOR macro which is ; on NT and : on Unix 2) All the home directories for software can use the / as the path separator and on NT, I just have the drive letter in front of it. for example, the home for jdk: on NT: JAVA_HOME=D:/Software/jdk1.1.8 on Unix: JAVA_HOME=/usr/java1.1 3) The real blocking problem is when, for a product, I need some stuff in my PATH and in CLASSPATH. For example, I want JAVA_HOME/bin in my path and JAVA_HOME/lib/classes.zip in the CLASSPATH. On NT, the JAVA_HOME as written above will work in the CLASSPATH but not in the PATH (due to the D:). I tried to mount D: on /d, but then it is not working anymore in the CLASSPATH. I'd love not to have to macros for JAVA_HOME, one for the CLASSPATH and one for the PATH. Any ideas ?? -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com