X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4F4F21AC.7060209@cs.cmu.edu> Date: Wed, 29 Feb 2012 23:13:48 -0800 From: Paul Allen Newell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: pnewell AT cs DOT cmu DOT edu Subject: question on Cygwin's version of make Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 I've got a C++ tree that is running under Fedora 14, Fedora 16, and Cygwin. Everything works. Tonight, I needed to test something and was on my Windows box, so I did a cut-and-paste operation which gave me a directory of "Copy of myStuff". I did a make and it worked, but I am seeing a message about "basename: extra operand 'myStuff'. I figured out that the spaces in the MS "Copy of myStuff" were the problem and was able to rename w/o spaces and move forward. But I would like to ask if anyone knows what in "make" uses the basename command so I can try to either massage the Makefile to deal with it or throw a more meaningful error (as in "your directory has spaces in it and there will be complaints")? I also noticed that if I run "make >& make.out" that the message is printed to the terminal and is not in make.out. What am I missing to capture all output in make.out? Thanks in advance, Paul ps: I haven't included all the details of cygcheck as I think the issue is on my end once I have an idea of why basename is being called -- will gladly provide if it helps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple