GNU bug report logs - #64887
grep build for windows `grep.exe` not working.

Previous Next

Package: grep;

Reported by: Sajjad Ali <a.sajjad.72 <at> outlook.com>

Date: Thu, 27 Jul 2023 04:35:02 UTC

Severity: normal

Full log


Message #11 received at 64887 <at> debbugs.gnu.org (full text, mbox):

From: Dimitry Andric <dimitry <at> andric.com>
To: Sajjad Ali <a.sajjad.72 <at> outlook.com>
Cc: 64887 <at> debbugs.gnu.org
Subject: Re: bug#64887: grep build for windows `grep.exe` not working.
Date: Thu, 27 Jul 2023 16:35:51 +0200
[Message part 1 (text/plain, inline)]
On 27 Jul 2023, at 03:28, Sajjad Ali <a.sajjad.72 <at> 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

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 1 year and 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.