cygcheck doesn't work on DLLs and executables in current working directory
Mon Oct 5 15:50:16 GMT 2020
On 05.10.2020 17:20, Hamish McIntyre-Bhatty via Cygwin wrote:
> On 02/10/2020 17:33, Marco Atzeri via Cygwin wrote:
>> On 02.10.2020 17:59, Hamish McIntyre-Bhatty via Cygwin wrote:
>>> I've noticed that cygcheck doesn't work when run against executables and
>>> DLLs in the current working directory. Has anyone else experienced this?
>> how are you calling it ?
>> $ cygcheck ./hello_c.exe
>> Problem reports: https://cygwin.com/problems.html
>> FAQ: https://cygwin.com/faq/
>> Documentation: https://cygwin.com/docs.html
>> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
> Irritatingly, I can't reproduce that now. It might well have been
> something to do with my setup because VirtualBox is causing all sorts of
> annoying problems at the moment. I'll reply again with output if it
> happens again.
> I did find something else though:
> If I make a temporary directory and move into it, and then copy
> /bin/bash and /bin/cygwin1.dll into it, if I run "cygcheck
> /bin/bash.exe" it then says it depends on the cygwin1 DLL in the current
> directory rather than the one in /bin:
that is expected. It is as Windows works
the shared libs in the same directory have precedence
on the one on the path.
More information about the Cygwin