delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/25/12:17:10

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: <388DE55F.D7DE497C@sigma6.com>
Date: Tue, 25 Jan 2000 13:03:11 -0500
From: Jeff Sturm <jsturm AT sigma6 DOT com>
Organization: AppNet
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "number6 AT pcbank DOT net" <number6 AT pcbank DOT net>
CC: "'Craig MacFarlane'" <craigm AT chemconnect DOT com>,
"cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: bash, javac and that pesky slash.
References: <01BF66B1 DOT D09A9760 DOT number6 AT pcbank DOT net>

Eric Feliu wrote:
> I use java and cygwin all the time, the thing you need to remember is that java for the
> windows environment was not written to use unix command line syntax. Your compile line
> should be :
> 
>           bash-2.02% javac -d "d:\destdir\classes" foo.java

An alternative is to write a "javac" shell script that converts the
CLASSPATH and arguments for you, then invokes the "real" javac.

That's what I did, so I would not have to convert dozens of Makefiles. 
I can also use either javac.exe or Microsoft's jvc.exe for compiling
without changing a single line in my project.

-- 
Jeff Sturm
jsturm AT sigma6 DOT com

--
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