Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Kate Ebneter cc: cygwin AT cygwin DOT com Subject: Re: Strange problem with make (or bash?) under cygwin In-Reply-To: Message-ID: References: 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 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/