bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dimitry Andric
Subject: bug#64887: grep build for windows `grep.exe` not working.
Date: Thu, 27 Jul 2023 16:35:51 +0200

On 27 Jul 2023, at 03:28, Sajjad Ali <a.sajjad.72@outlook.com> 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

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]