Subject: bug#64887: grep build for windows `grep.exe` not working.

From: Dimitry Andric <[email-masked]>
Date: Thu, 27 Jul 2023 16:35:51 +0200

On 27 Jul 2023, at 03:28, Sajjad Ali <[email-masked]> wrote:
> 
> successfully build grep for windows on MSYS2. no errors.
> 
> but it shows nothing for "grep.exe -h"​, "grep --version"​ or any other supplied argument.

Can you run grep.exe in the Visual Studio debugger? Then you should be
able to see what is happening more clearly. For example, does it go into
main()?, does it parse command line arguments?, etc.

Another obvious thing to check first is whether a simple "hello world"
program shows any output. If that is not working, there is something
wrong with your MSYS development environment.

-Dimitry