Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 24 May 2004 22:18:49 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Kate Ebneter <kebneter@apple.com>
cc: cygwin@cygwin.com
Subject: Re: Strange problem with make (or bash?) under cygwin
In-Reply-To: <EFD9C527-ADC1-11D8-B009-000A95701024@apple.com>
Message-ID: <Pine.GSO.4.58.0405242215200.15419@slinky.cs.nyu.edu>
References: <EFD9C527-ADC1-11D8-B009-000A95701024@apple.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Mon, 24 May 2004, Kate Ebneter wrote:

> Folks,
>
> I have a frankly bizarre problem using make under cygwin. The short and
> sweet description of the problem is that sometimes, the compiler or
> other tool being called by make is passed an empty command line. I
> don't know if the problem is in make, the shell, or the compiler(s)
> (although I consider them an unlikely culprit).
>
> [snip]
>
> I'm pretty much tearing my hair out here. If anyone has any suggestions
> as to how we might tackle this problem -- things we might look for,
> possible causes? -- I'd love to hear them.
>
> Thanks,
> Kate Ebneter

Some debugging suggestions:

Doesn't "make" print a trace of the commands it's invoking?  There's a way
to make it do this with a command line option.  This way you'd know what
the arguments passed to the compiler were.  Also, what is the value of
$MAKE_MODE in your environment?  What is the value of $SHELL?  Can you
print "$$SHELL" from inside the Makefile?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

