This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange problem with make (or bash?) under cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]