delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/24/22:19:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Kate Ebneter <kebneter AT apple DOT com>
cc: cygwin AT cygwin DOT 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 AT apple DOT com>
MIME-Version: 1.0
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


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