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

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: <3.0.32.20000612234234.0100177c@mail.mathworks.com>
X-Sender: paulk AT mail DOT mathworks DOT com
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Mon, 12 Jun 2000 23:42:35 +0000
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
Mime-Version: 1.0

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019