This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash, javac and that pesky slash.
- To: Craig MacFarlane <craigm at chemconnect dot com>,cygwin at sourceware dot cygnus dot com
- Subject: Re: bash, javac and that pesky slash.
- From: Randall R Schulz <rschulz at teknowledge dot com>
- Date: Mon, 24 Jan 2000 09:39:12 -0800
- References: <388C8C72.8BB82F3E@chemconnect.com>
Craig,
You must distinguish Cygwin programs from all others and use Windows
native path name syntax for any program not compiled for Cygwin. For
me, this most often manifests itself when I wish to launch Vim.
Randy Schulz
Teknowledge Corp.
Palo Alto, CA USA
At 09:31 -0800 1/24/00, 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.
>
>Thanks,
>Craig
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com