stdbuf: build on Windows (depending on cygwin dll)#12329
Conversation
|
GNU testsuite comparison: |
a13cfd9 to
13529b2
Compare
e879393 to
7a5a9d3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Ecordonnier
left a comment
There was a problem hiding this comment.
So if I understand correctly, stdbuf.exe will work only with binaries which use the msys-2.0.dll or cygwin1.dll runtime. Normal windows PE programs won't be impacted at all.
The tools in /mingw64/bin (grep, sed, awk, git) are native PE binaries linking against MSVCRT/UCRT.
It would be good to document this use-case / limitation, because AFAIK stdbuf won't have any effect for the vast majority of MSYS2 usage patterns.
5391c60 to
7176250
Compare
at manpage or |
As far as I understand, if you edit the ftl files in src/uu/stdbuf/locales, both the man pages and the --help text willbe updated. |
|
I think people not on Windows does not want to see such document. |
fd13482 to
86186b6
Compare
|
It would be nice if we could do partial dll injection on actual Windows. |
Build Windows native
stdbuf.exedepending onlibstdbuf.dllbuilt for Cygwin. Useful for MSYS2. Closes #12328