delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/13/14:22:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <7009EDD9FFA0D111A03400A0C91F3D2E013D9B30@goliath.unidata.com>
From: Thomas Cherel <thomas DOT cherel AT ardentsoftware DOT com>
To: cygwin <cygwin AT sourceware DOT cygnus DOT 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)

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019