This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bash, javac and that pesky slash.


On Mon, Jan 24, 2000 at 09:31:30AM -0800, Craig MacFarlane wrote:
>Sun's javac, in jdk1.2.1, seems to change the forward slashes used by
>bash to backward slashes used by windows.
>
>e.g.
>
>bash-2.02% javac -d //d/destdir/classes foo.java
>
>produces the error message
>
>The \\d\destdir\classes directory does not exist.
>
>Is there any way to use javac with bash while specifying destination
>dirs for your classes?  It appears as though javac is trying to be too
>smart by substituting slashes.

Is there some reason why you're asking this question here rather than
in, say a Sun javac mailing list?

FYI, even if you could do something magical to javac to cause it
to emit forward slashes, it still would not understand the //d
drive syntax since this is cygwin specific.  For an application
to understand cygwin drive specs, it would need to be linked with
the cygwin DLL.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]