Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <7009EDD9FFA0D111A03400A0C91F3D2E013D9B30@goliath.unidata.com>
From: Thomas Cherel <thomas.cherel@ardentsoftware.com>
To: cygwin <cygwin@sourceware.cygnus.com>
Subject: Unix make mode and Java on NT
Date: Fri, 13 Aug 1999 14:17:38 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"

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

