delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/04/17:18:43

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Path: not-for-mail
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: javac on cygwin
Date: Sat, 04 Jan 2003 14:17:58 -0800
Lines: 21
Message-ID: <3E175D96.2030303@cotagesoft.com>
References: <20030104115231 DOT 62364 DOT qmail AT web10401 DOT mail DOT yahoo DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030104080555 DOT 01e83058 AT pop3 DOT cris DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en

Randall R Schulz wrote:

> Javac is not particularly special. It is a Windows-native program, and 
> as such requires absolute file and directory names be provided in 
> Windows format (forward slashes are OK, but drive letters are required 
> and the Cygwin notion of root is completely unknown to such programs). 

Javac is a pure java program. The "windows executable" is only there as 
a thin native wrapper that launches sun.tools.javac.Main.

The bigger problem is that Sun JRE is compiled to the native Win32 API, 
not to cygwin, so *any* Java programs running in the Sun JRE will never 
understand cygwin mount points.

In theory, someone could invest in the effort to port, say, the Linux 
port of the Sun JRE to cygwin, but it would be a huge effort.

Igor's idea (wrappers that run cygpath -m on the paths being passed to 
Java) would be the best approach in this situation, especially for 
well-known Java programs like "javac".




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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