-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSYS2 MinGW GNU Readline support (Do Not Merge) #1270
Conversation
libreadline.a under MSYS2 MinGW needs libtermcap.a
Please help to review. Thanks. This PR needs to be squashed before being merged if the review if okay. |
I think this does not need to be included in 7.1 release as the official Windows binary will be using MSVC build, so this is not urgent. |
The other option to enable readline support is to port PR #1264 (readline replacement for MSVC) to MinGW. How do you like that idea? |
There is an issue -- libtermcap is dynamically linked, that is why github action does not fail. So this PR is not ready anyway.
Behavior of the MinGW GNU Readline binary is not as good as PR #1264 for MSVC.
|
@mcuee Your changes look good, however, the question to me is whether MinGWs readline is any good.
This suggest that the MinGW readline code has similar deficiencies as GNU Readline for Windows, if not being based the same code. I tried your MinGW CI build, and at least the x64 build does not crash on Ctrl-R, so they seems to have fixed some x64 related bugs. Looking at GNU Readline for Windows, I must say its in bad shape. Having worked with it, I think we are better off not using it. Perhaps its easiest to use #1264 for MinGW as well. |
This PR adds the support of GNU Readline for MSYS2 MinGW build.
Close #1155.