-
|
I tried to download gawk and to do ./configure && make and that of course doesn't work, I have no idea what the right way would be to do this.
I know it's possible to do anything with enough of hand-patching the sources, but I believe there is already work done to do it "right" for MSYS2 and I just can't find it. I found this But this doesn't seem to answer the issues I see, or maybe it does? I see MSYS2 there patches some files for some conditions to match it too, which would otherwise match cygwin* or mingw* ? Is that it, and what is actually missing here for w64devkit? Thanks for any explanations. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
See the gawk manual here: Though it's outdated and incomplete. The procedure that works in w46dk right now looks like this:
|
Beta Was this translation helpful? Give feedback.
-
|
I will steal it from Cygwin instead. You download Cygwin setup and run this command: You then in the Cygwin shell run Copy the You can use the same trick with MSYS2 as the source instead of Cygwin. |
Beta Was this translation helpful? Give feedback.
See the gawk manual here:
https://www.gnu.org/software/gawk/manual/html_node/PC-Compiling.html
Though it's outdated and incomplete. The procedure that works in w46dk right now looks like this:
sedis to fix a bug inconfig.h.-std=gnu99is because it's not C23-compatible.-fpermissiveis to work around more bugs in the gawk source that modern compilers no longer tolerate.