www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/12/15:22:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe 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: <3945384F.FB97B300@dothill.com>
Date: Mon, 12 Jun 2000 15:21:51 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Woody Jin <wjin AT houston DOT geoquest DOT slb DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Make and javac compliler problem in bash
References: <4 DOT 2 DOT 2 DOT 20000612100114 DOT 00b2faa0 AT gqserver DOT houston DOT geoquest DOT sl b.com> <4 DOT 2 DOT 2 DOT 20000612131311 DOT 00b313c0 AT gqserver DOT houston DOT geoquest DOT slb DOT com>

--------------F07C4B3221A149EB9F010ADA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jin,

Woody Jin wrote:
> 1) I thought that javac, being a product of Sun Microsystem, (and there exist
>      its counterpart in Unix) would accept unix style path, which I found
> is  not
>      the case.

Sun's javac does support paths with forward slashes -- but will not
handle Cygwin style path's (via mounts, symlinks, etc.).

> 2) Rather than messing around the backslash and slash all over the places,
>      and make Makefiles and other shell scripts incompatible with the Unix,
>      (for example, I want to use the same Makefile on both platform

We successfully use GNU make (ie, 3.79) and javac on both NT and UNIX
without any problems.  See attached for an example.

Sorry, that I can't give you specific help, but hopefully knowing that
it should work will help you persevere until you succeed.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com
--------------F07C4B3221A149EB9F010ADA
Content-Type: text/plain; charset=us-ascii;
 name="Makefile"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Makefile"

# $Id: Makefile,v 1.1 2000/05/05 13:58:58 jt Exp $

BaseDir = ../..

include $(BaseDir)/Makerules.mk

all:: main

main: $(CLASSES)
	$(JAVAC) $(JAVACFLAGS) *.java \
		../stgobjs/aryobjs/*.java ../stgobjs/spobjs/*.java ../stgobjs/*.java \
		../server/*.java \
		../ui/cfg_ui/*.java ../ui/*.java


--------------F07C4B3221A149EB9F010ADA
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--------------F07C4B3221A149EB9F010ADA--

- Raw text -


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