delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/12/18:23:33

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: <4.1.20000612174900.02307940@pop.mathworks.com>
X-Sender: paulk AT pop DOT mathworks DOT com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Mon, 12 Jun 2000 18:21:59 -0400
To: Woody Jin <wjin AT houston DOT geoquest DOT slb DOT com>, cygwin AT sourceware DOT cygnus DOT com
From: Paul Kinnucan <paulk AT mathworks DOT com>
Subject: Re: Make and javac compliler problem in bash
In-Reply-To: <4.2.2.20000612160752.00a78a50@gqserver.houston.geoquest.sl
b.com>
References: <4 DOT 1 DOT 20000612144728 DOT 01f06100 AT pop DOT mathworks DOT com>
<4 DOT 2 DOT 2 DOT 20000612131311 DOT 00b313c0 AT gqserver DOT houston DOT geoquest DOT sl b.com>
<4 DOT 1 DOT 20000612114500 DOT 02abfa80 AT pop DOT mathworks DOT com>
<4 DOT 2 DOT 2 DOT 20000612100114 DOT 00b2faa0 AT gqserver DOT houston DOT geoquest DOT sl b.com>
Mime-Version: 1.0

At 04:15 PM 6/12/00 -0700, Woody Jin wrote:
>At 02:56 PM 6/12/00 -0400, Paul Kinnucan wrote:
>>At 01:26 PM 6/12/00 -0700, Woody Jin wrote:
>> >At 11:53 AM 6/12/00 -0400, you wrote:
>> >>At 10:21 AM 6/12/00 -0700, you wrote:
>> >> ><Problem 1>
>> >> >I have a Makefile which compiles java program, if I type
>> >> >make, after the screen shows the "javac xxxx.java", and then
>> >> >hangs.  The Makefile doesn't need to
>> >> >be complex. Any simple Makefile that compiles even HelloWorld.java
>> >> >will make the bash console stuck.
>>
>> >Whatever you do, "make" will stuck with javac.
>> >
>>
>>Did you actually try running make in Unix mode as suggested in the FAQ?
>
>
>Of course.
>

And what happened? Were you able to get your makefile to work?

>
>> >1) I thought that javac, being a product of Sun Microsystem, (and there 
>> exist
>> >     its counterpart in Unix) would accept unix style path, which I found
>> >is  not
>> >     the case. It is better to write an application to accept both styles.
>> >Maybe
>> >     we should request Sun to do it, letting them know that in Windows
there
>> >     are many Unix tool users.
>> >2) Rather than messing around the backslash and slash all over the places,
>> >     and make Makefiles and other shell scripts incompatible with the Unix,
>> >     (for example, I want to use the same Makefile on both platform - yes,
>> >I have
>> >      Sunworkstation on my left side and WindowsNT on my right side),
>> >     maybe, bash or some other utility registers applications which
requires
>> >     windows specific path, and whenever you use unix style path, it
>> >automatically
>> >     converts to MS-DOS style when the system finally gives the application
>> >the path.
>> >
>>
>>Think about what you're asking. If you come up with a general, complete
>>solution to the problem of unambiguously converting DOS to Unix paths, and
>>vice-versa, without any additional information than what is in the paths
>>(don't forget the little problem of drive letters), patent it. A lot of
>>people would be very interested in your solution.
>
>
>It doesn't need to be so genius. For example, try "gvim", which is a
>Windows GUI implementation of vim. I can run it using any path names I want
>under any environment (whether from MS-DOS console or bash console).

I said "without any additional information" because you couched your
requirement in a general way. The solution you're suggesting requires that
a user install Cygwin and create a mount table that maps DOS to Unix paths.

I suspect this is a solution of limited appeal to most developers of
Windows applications, including Sun.

It would be great if Sun or someone else ports javac to Cygwin, but at the
moment javac is a native Windows application and that was the situation I
addressed in my original response to you.

- Paul





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