This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: No interaction with bash?
- To: <Andy_Lord at tertio dot com>, <gnu-win32 at cygnus dot com>
- Subject: RE: No interaction with bash?
- From: "Mike Grasso" <mjg at tusc dot com dot au>
- Date: Wed, 27 May 1998 16:43:37 +1000
- Reply-To: <mjg at tusc dot com dot au>
> I've look in the FAQ and a brief tour in the mailing lists. Its probably
> there but needs to be "in my face" a bit more ;-).
> Andway - If I run a "certain" program from cmd.exe it works fine. If I run
> it from sh it exits without doing anything.
>
> The program is MSVC link.exe
I can't reproduce your problem, but then again I'm using a more recent
release of MS's link utility (v5.10.7303). However....
> From bash I get the following: (ie no interaction at all )
>
> ------------
> C:\>sh
> sh-2.01$ //k/general/msvc/bin/link
> sh-2.01$
> ------------
I had a similar problem with a MS utility in the past (which utility I can't
remember...), and the problem turned out to be that the program tried to
call GetModuleHandle () on itself very early in its initialisation, using
argv [0] as the parameter to that call. Because I'd specified the program
name using bash's //device/directory notation (which the Windows API knows
nothing about!) the call was failing, and the program just bombed out.
Dunno if this is going to be your problem, but try it out (ie. by copying
link to be on your path).
--
Mike Grasso - mjg@tusc.com.au
TUSC P/L - 666 Doncaster Road, Doncaster, 3108, Australia
ph +61 3 9840 4451 - fx +61 3 9840 2277 - mb +61 4 1619 4954
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".