Re: Win2k Command Window Can't Execute G++

2009-06-01 Thread Roger Head
Alexey Borzenkov gmail.com> writes: > As an alternative you can try looking into my > http://git.kitsu.ru/mine/shell-wrapper.git (use snapshot link for > topmost commit if you don't have git and don't know how to clone) > Thanks Alexey, I'll have a look. Roger -- Unsubscribe info: htt

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Alexey Borzenkov
On Sun, May 31, 2009 at 6:36 PM, Roger Head wrote: > U... e no, no, that's too easy. There must be a harder way to do > it. As an alternative you can try looking into my http://git.kitsu.ru/mine/shell-wrapper.git (use snapshot link for topmost commit if you don't have git and don't k

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Dave Korn
Roger Head wrote: > Dave Korn googlemail.com> writes: > >> How about just typing "g++-4" (or "g++-3") instead of "g++" when trying >> to invoke the compiler from a DOS shell? >> >> cheers, DaveK >> > > U... e no, no, that's too easy. There must be a harder way to > do it. To par

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Roger Head
Dave Korn googlemail.com> writes: > How about just typing "g++-4" (or "g++-3") instead of "g++" when trying to > invoke the compiler from a DOS shell? > > cheers, > DaveK > U... e no, no, that's too easy. There must be a harder way to do it. Thanks Dave. Roger --

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Dave Korn
Andy Koppe wrote: >> I'm sure that I can come up with a hack that will let me do what I want > > The easiest thing to do would be to overwrite the link with the file > it points to, e.g. 'cp /bin/g++-4.exe /bin/g++.exe'. You'd have to > remember to do that after every gcc update though. How ab

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Roger Head
Hi Andy, > > I'm almost certain that I was able to invoke it from a CMD window. > > Afaik, gcc and g++ changed into links only recently, to help with the > transition from gcc-3.4 to 4.3. > There are still some remnants of AVR-GCC hanging around on my system from a few years ago. Maybe a conne

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Andy Koppe
2009/5/31 Roger Head: > Thanks for the reply, Matt. I don't have a really good idea of how Cygwin and > Windows are both supposed to be able to handle .LNKs to e.g. G++, but a dump > of > g++.exe.lnk shows strings for /etc/alternatives and > L:\cygwin\etc\alternatives. > So yes, I don't know if W

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Roger Head
Matt Wozniski gmail.com> writes: > > Don't have a cygwin install in front of me ATM, but - isn't g++ a > cygwin symlink these days? cmd.exe can't follow those even if they're > in the path, of course. > > ~Matt > Thanks for the reply, Matt. I don't have a really good idea of how Cygwin and

Re: Win2k Command Window Can't Execute G++

2009-05-31 Thread Matt Wozniski
On Sun, May 31, 2009 at 1:49 AM, Larry Hall wrote: > Roger Head wrote: >> >> Hi All, >> >> I'm a noob to Cygwin and all things non-Windows. I installed Cygwin on my >> Win2k system (a couple of hiccups, but nothing major), then installed the >> GCC. When that completed, I did g++ -v in a bash windo

Re: Win2k Command Window Can't Execute G++

2009-05-30 Thread Roger Head
Larry Hall (Cygwin cygwin.com> writes: > > Roger Head wrote: > > Hi All, > > Cygwin installation I had to manually add \Cygwin\bin and \Cygwin\usr\bin to the PATH. That hasn't been altered. > If you want Windows applications to be able to see Cygwin apps without > adding explicit paths to t

Re: Win2k Command Window Can't Execute G++

2009-05-30 Thread Larry Hall (Cygwin)
Roger Head wrote: Hi All, I'm a noob to Cygwin and all things non-Windows. I installed Cygwin on my Win2k system (a couple of hiccups, but nothing major), then installed the GCC. When that completed, I did g++ -v in a bash window, and got the expected response. I am *sure* (99% anyway) that I

Win2k Command Window Can't Execute G++

2009-05-30 Thread Roger Head
Hi All, I'm a noob to Cygwin and all things non-Windows. I installed Cygwin on my Win2k system (a couple of hiccups, but nothing major), then installed the GCC. When that completed, I did g++ -v in a bash window, and got the expected response. I am *sure* (99% anyway) that I was also able to do