X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: ycweUreswBCK.d0cygTP5tXwHncbOU7YVeVfIxOQoyRMI2IuIKLmUqE-
Message-ID: <4F4FB35D.1010802@molconn.com>
Date: Thu, 01 Mar 2012 12:35:25 -0500
From: LMH <lmh_users-groups@molconn.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: question on Cygwin's version of make
References: <4F4F21AC.7060209@cs.cmu.edu> <CAB8Xom9zz5CN+yE6cHBj-h-PG4aUxghckkmAYZiQko8SfmNuhQ@mail.gmail.com> <4F4F2877.4080006@cs.cmu.edu>
In-Reply-To: <4F4F2877.4080006@cs.cmu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Some folks call make from a bash file to take advantage of things that 
bash can do and make can't, or at least easily. Using a "config.sh" to 
run make could let you test anything you want, print warnings, or exit, 
if anything is spotted. If everything looks good, the script can call 
make. This is common when you need to collect information about the 
local configuration (OS, arch, preferences, etc) in a portable way.

Don't know if that helps, but that is what occurred to me reading you post.

LMH



Paul Allen Newell wrote:
> Marco:
>
> Thanks for reply, my comments inline
>
> On 2/29/2012 11:23 PM, marco atzeri wrote:
>>
>> names with spaces are always a problem for a lot of unix/cygwin
>> program, so my suggestion
>> is to rename the directory.
>> Please also note that copy&paste will likely mess your file permission
>
> Yes, I solved the problem by removing spaces. I always create
> directories and files without spaces. but a cut-and-paste in Windows
> doesn't respect such. I haven't seen any permissions problems on a
> cut-and-paste .. the only issue I see is when I port back to Fedora and
> have a script to get rid of everything being an executable.
>
> I am just hoping that I can understand where basename is executed so I
> can flag the problem. It ain't a show-stopper, but it would be nice to
> just do a cut-and-paste followed by a make in the new directory which
> should tell me "you got spaces".
>>>
>>> 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?
>> I like this way
>>
>> make&2>1 |tee make.out
>>
>> "&2>1" redirect the error message to the std output
>>
>
> Okay ... interesting ... can I beg a bit more of an explanation as I
> don't understand the difference between ">&" and "&2>1" (bash stuff is
> an an area that I am maybe "less than a newbie")
>
> Thanks,
> Paul
>
> --
> 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
>
>

--
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

