Re: Strange problem with running dmake via ssh

2009-04-02 Thread Alfred von Campe
On Apr 2, 2009, at 13:30, Dave Korn wrote: Is this possibly caused by having $SHELL set in the environment in one case but not the other? We have a winner! The SHELL environment variable was set in both cases to /bin/bash. Well, doing a "echo $SHELL" returned "/bin/bash" in both case

Re: Strange problem with running dmake via ssh

2009-04-02 Thread Dave Korn
Corinna Vinschen wrote: > On Apr 2 11:48, Alfred von Campe wrote: >> dmake: Error -- \bin\bash: No such file or directory > > Dmake alone is the culprit, given that. > > The problem here is that dmake as native process has simply no idea > about Cygwin's mount table. Apparently it checks fo

Re: Strange problem with running dmake via ssh

2009-04-02 Thread Corinna Vinschen
On Apr 2 11:48, Alfred von Campe wrote: > One thing I forgot to mention is that we run the Cygwin sshd service as a > specific user so that we can access network shares without having to > specify a password, and I am logged in as that user. I can run other > Windows commands without a problem

Re: Strange problem with running dmake via ssh

2009-04-02 Thread Alfred von Campe
On Apr 2, 2009, at 11:23, Corinna Vinschen wrote: This chapter in the new Cygwin 1.7 User's Guide is supposed to explain what's going on when switching the user context from a service like sshd: Thanks, Corinna, I will read this as soon as I get a chance (it's waiting at the printer for me a

Re: Strange problem with running dmake via ssh

2009-04-02 Thread Corinna Vinschen
On Apr 2 11:15, Alfred von Campe wrote: > I tried running strace to figure out what's going on, but that doesn't > work since dmake.exe is a Windows executable. I also tried running dmake > like this: > > $ cmd /C "dmake flashimage" > dmake .\trioimage.elf LINK_FILE=trioflashimage.ld > BO

Re: Strange problem with running dmake via ssh

2009-04-02 Thread Alfred von Campe
I have a strange problem when trying to compile a project under Cygwin with dmake. If I start a remote desktop connection to our Windows 2003 server, and start a Cygwin window (i.e., run Cygwin.bat), I am able to build our project just fine. This also works in a native CMD window. Howeve

Strange problem with running dmake via ssh

2009-04-01 Thread Alfred von Campe
I have a strange problem when trying to compile a project under Cygwin with dmake. If I start a remote desktop connection to our Windows 2003 server, and start a Cygwin window (i.e., run Cygwin.bat), I am able to build our project just fine. This also works in a native CMD window. Howeve