-
Notifications
You must be signed in to change notification settings - Fork 136
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
Readline support for MSVC #1186
Comments
The workaround for now is to use MinGW build below. Once #1171 is merged, I will publish avrdude snapshot binaries for Linux/Windows/macOS. (Done) |
BTW, it is not too bad as there is a work around for the terminal mode using pipes. Examples using the latest github action Windows binary.
|
Would you please change the warning message to something like the following? You can change the wording as you see fit.
|
@mcuee , @stefanrueger : I have not been able to keep up the pace you guys are working, but I am planning on fixing some Windows related issues around the upcoming holidays. This includes patching up the old readline library for Windows. I am assigning this issue to me. |
@mariusgreuel Thank you. BTW, you can try Without libreadline one needs to pipe into avrdude:
|
Thanks, Readline for MSVC build will be wonderful. The other thing you may help is how to better detect Readline under Windows. Now it wrongly detect Strberry Perl's libreadline.a as having Readline for the MSVC build. I have to explicitly disable it in githhub action MSVC build with PR #1196. |
Yes, when you install Strawberry Perl, a lot of things break. They put their entire MinGW toolchain in the systems PATH variable, having no clue about the breakage this causes: StrawberryPerl/Perl-Dist-Strawberry#11 It surprises me to see this on a GitHub runner enabled by default. I dropped GitHub a message: |
Build log using Readline-win32. Failed because the directory structure is not correct. |
One more try -- just a hack to get the things build.
Directory Structure for reference: |
Binary for reference (also included in the post above). Dynamic link to |
The results seem to be okay with history. piping is a bit strange.
|
Yet the other way is to get the Readline binary from vcpkg, and copy the necessary into a directory named
|
Result binary seems to work fine.
git main has the same issue as before when it comes to pipes.
|
Just to illustrate the issue again with readline-win32. PR #1207 is good for this case.
|
I think @mariusgreuel is aware of this. Somehow reading from a pipe/file does not generate EOF he told us. |
Good to know that. No idea why PR #1207 helps in this case. |
@mariusgreuel mentioned that he would like to include this in the 7.1 release.
|
@mariusgreuel, @stefanrueger @dl8dtl and @MCUdude I have added this to 7.1 milestone. I think PR #1259 is almost there. Hopefully the fix for the remaining issues will not take too much time. |
Closing as PR #1264 addresses this. |
As of now MSVC build does not support libreadline and then
-c urclock
may time out in terminal mode.@mariusgreuel may have the solution from the discussion here.
The text was updated successfully, but these errors were encountered: