Re: question on Cygwin's version of make

2012-03-02 Thread Paul Allen Newell
On 3/2/2012 4:21 AM, Andrey Repin wrote: I'm abit lost in your loops. In case of redirecting your output to tee... man tee. -- WBR, Andrey Repin (anrdae...@freemail.ru) 02.03.2012,<16:19> Sorry for my terrible english... Andrey: I was confused too ... once DaveK pointed me to my alias in

Re: question on Cygwin's version of make

2012-03-02 Thread Paul Allen Newell
On 3/2/2012 1:10 AM, Corinna Vinschen wrote: On Mar 1 17:50, Paul Allen Newell wrote: Given that the problem is identified (basename doesn't like spaces), This is not correct. It's not that basename doesn't like spaces, the problem is incorrect quoting. Example: $ basename /a/b/c.d .d

Re: question on Cygwin's version of make

2012-03-02 Thread Andrey Repin
Greetings, Paul Allen Newell! > 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" r

Re: question on Cygwin's version of make

2012-03-02 Thread Andrey Repin
Greetings, Paul Allen Newell! >>> have a script to get rid of everything being an executable. >> Does >> chmod -x,+X -R /path/... >> warrant a script? >> >> >> -- >> WBR, >> Andrey Repin (anrdae...@freemail.ru) 02.03.2012,<02:58> >> >> Sorry for my terrible english... >> >> > Andrey: > Thanks for

Re: question on Cygwin's version of make

2012-03-02 Thread Corinna Vinschen
On Mar 1 17:50, Paul Allen Newell wrote: > Given that the problem is identified (basename doesn't like spaces), This is not correct. It's not that basename doesn't like spaces, the problem is incorrect quoting. Example: $ basename /a/b/c.d .d c $ basename "/a/b/c.d .d" c.d .d And sinc

Re: question on Cygwin's version of make

2012-03-01 Thread Paul Allen Newell
On 3/1/2012 5:54 PM, marco atzeri wrote: On Fri, Mar 2, 2012 at 2:34 AM, Paul Allen Newell wrote: Using Macro's suggestion of 2>&1 doesn't capture the basename error/warning message. I tried "make> make.out 2>&1" and the message still isn't being captured. it should be make 2>&1 |tee make.o

Re: question on Cygwin's version of make

2012-03-01 Thread marco atzeri
On Fri, Mar 2, 2012 at 2:34 AM, Paul Allen Newell wrote: > > Using Macro's suggestion of 2>&1 doesn't capture the basename error/warning > message. I tried "make > make.out 2>&1" and the message still isn't being > captured. it should be make 2>&1 |tee make.out but also this should work make &

Re: question on Cygwin's version of make

2012-03-01 Thread Paul Allen Newell
On 3/1/2012 9:35 AM, LMH wrote: 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,

Re: question on Cygwin's version of make

2012-03-01 Thread Paul Allen Newell
On 3/1/2012 12:27 AM, Csaba Raduly wrote: On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell wrote: 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 whi

Re: question on Cygwin's version of make

2012-03-01 Thread Paul Allen Newell
On 2/29/2012 11:55 PM, marco atzeri wrote: On Thu, Mar 1, 2012 at 8:47 AM, Csaba Raduly wrote: On Thu, Mar 1, 2012 at 8:23 AM, marco atzeri wrote: On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell wrote: (snip) I also noticed that if I run "make>& make.out" that the message is printed to

Re: question on Cygwin's version of make

2012-03-01 Thread Paul Allen Newell
On 3/1/2012 2:58 PM, Andrey Repin wrote: Greetings, Paul Allen Newell! have a script to get rid of everything being an executable. Does chmod -x,+X -R /path/... warrant a script? -- WBR, Andrey Repin (anrdae...@freemail.ru) 02.03.2012,<02:58> Sorry for my terrible english... Andrey: Tha

Re: question on Cygwin's version of make

2012-03-01 Thread Andrey Repin
Greetings, Paul Allen Newell! > have a script to get rid of everything being an executable. Does chmod -x,+X -R /path/... warrant a script? -- WBR, Andrey Repin (anrdae...@freemail.ru) 02.03.2012, <02:58> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.h

Re: question on Cygwin's version of make

2012-03-01 Thread LMH
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

Re: question on Cygwin's version of make

2012-03-01 Thread Csaba Raduly
On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell wrote: > 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 m

Re: question on Cygwin's version of make

2012-03-01 Thread Paul Allen Newell
On 2/29/2012 11:55 PM, marco atzeri wrote: Paul, looks on http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/io-redirection.html for further info. Marco Marco: Thanks for the links. And thanks to Csaba and you for confirmi

Re: question on Cygwin's version of make

2012-02-29 Thread marco atzeri
On Thu, Mar 1, 2012 at 8:47 AM, Csaba Raduly wrote: > On Thu, Mar 1, 2012 at 8:23 AM, marco atzeri  wrote: >> On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell  wrote: > (snip) >>> I also noticed that if I run "make >& make.out" that the message is printed >>> to the terminal and is not in make.ou

Re: question on Cygwin's version of make

2012-02-29 Thread Csaba Raduly
On Thu, Mar 1, 2012 at 8:23 AM, marco atzeri wrote: > On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell  wrote: (snip) >> 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? >

Re: question on Cygwin's version of make

2012-02-29 Thread Paul Allen Newell
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 th

Re: question on Cygwin's version of make

2012-02-29 Thread marco atzeri
On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell wrote: > 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 m

question on Cygwin's version of make

2012-02-29 Thread Paul Allen Newell
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