delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/19/11:18:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 19 May 2003 11:18:20 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Robert DOT Bram AT infotech DOT monash DOT edu DOT au
cc: cygwin AT cygwin DOT com
Subject: Re: Linux or DOS javac?
In-Reply-To: <DDEDIPLLKIAMLBCBFCHEMEDBCLAA.relaxedrob@optusnet.com.au>
Message-ID: <Pine.GSO.4.44.0305191114190.26639-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 19 May 2003, Robert Mark Bram wrote:

> Howdy All!
>
> I have found out that when I compile java code in cygwin, I have to make
> sure that my classpath and file names are in DOS format. For example;
>
> CLASSPATH=".;C:\temp" javac "C:\temp\AuctionEntryImpl.java"
>
> I believe this is required because the javac that is being used is a
> DOS/Windows javac and the file paths are translated.
>
> My problem is that I am trying to install the Janos nodeos which has a large
> set of build scripts that require Linux like paths, not DOS. My reason for
> saying this is because I am getting error messages like this:
>
> error: cannot read:
> /cygdrive/c/java/jnodeos-20020317/src/nodeos/Address.Java
>
> I take this to mean that the script is building Linux paths which are not
> understood by the DOS javac.
>
> If I have assumed correctly so far, can I download a Linux/Unix javac and
> will it use the Linux paths ok?
>
> I have examined some of the build scripts - it is not easy to change how
> they deal with paths because they do a lot sed operations (for example) and
> heaps of variable substitutions as part of their sanity checks.
>
> Any help would be appreciated!
>
> Rob
> :)
> :->
> :-}

Rob,

FYI, Jikes (<http://ibm.com/developerworks/oss/jikes/>) compiles mostly
OOTB on Cygwin, IIRC, and will use POSIX paths.  I've been meaning to
offer it as a package for a long time now, but could never find enough
time.  Maybe after my defense...  *sigh*
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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