This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Make and javac compliler problem in bash
- To: Woody Jin <wjin at houston dot geoquest dot slb dot com>, cygwin at sourceware dot cygnus dot com
- Subject: Re: Make and javac compliler problem in bash
- From: Paul Kinnucan <paulk at mathworks dot com>
- Date: Mon, 12 Jun 2000 23:42:35 +0000
At 05:47 PM 6/12/00 -0700, Woody Jin wrote:
>At 06:21 PM 6/12/00 -0400, Paul Kinnucan wrote:
>
>> >>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?
>
>
>If it had worked, I wouldn't even have bothered to ask here :-)
>
That is surprising. Cygnus make works fine in Unix mode for me.
Here is a makefile that I constructed to compile a little test application
that I've been using to test the Java Development Environment for Emacs:
all:
javac -classpath ../../classes -d ../../classes Test.java
This makefile compiles Test.java which requires classes stored in the
classes subdirectory of the project directory that contains Test.java. The
makefile is stored in the same directory as Test.java.
This is the output I get when I run Cygnus make in Unix mode on this
makefile from the Cygnus bash shell:
$ make all
javac -classpath ../../classes -d ../../classes Test.java
$
Here is the contents of the classes directory after I run this makefile.
e:/jmath/classes/jmath:
total 7
drwxrwxrwx 2 paulk 123 0 May 12 1998 .
drwxrwxrwx 2 paulk 123 0 May 12 1998 ..
-rw-rw-rw- 1 paulk 123 433 Mar 26 1998 JMathError.class
-rw-rw-rw- 1 paulk 123 484 Dec 11 1999 JMathException.class
-rw-rw-rw- 1 paulk 123 943 Jun 2 03:12
LinearSystem$InnerClass.class
-rw-rw-rw- 1 paulk 123 2603 Jun 2 03:12 LinearSystem.class
-rw-rw-rw- 1 paulk 123 900 Feb 1 01:13 Test$InnerClass.class
-rw-rw-rw- 1 paulk 123 1542 Jun 13 03:29 Test.class
As you can see, the makefile compiled Test.java as expected.
- Paul
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com