Replies: 3 comments 1 reply
-
Great idea. If you know how to build one, it could be integrated into GitHub workflows, which is how I already automate builds of Greaseweazle (for example). Perhaps you would fancy having a go at that? It's a special YAML file living under .github/workflows. Or if you give me some command line runes and prerequisites for building on Windows, perhaps I/we could work out the YAML. |
Beta Was this translation helpful? Give feedback.
-
Hi! :) Today, I got some time for taking a look to my patches for being able to compile the disk-analyse in windows using msys2/mingw64. Let me explain the patches and I will try to make a diff and look the github/workflows when I can. The only source file that we need to change is libdisk/stream)/caps.c, and the main problem is that windows has not dlfcn.h. Of course, you can find a few github repositories with dlfcn implementations for windows; but in my case, being a Linux user, I preferred to use a more portable way, then I used the [GNU Libtool] (https://www.gnu.org/software/libtool/). And only changed a few lines in the original:
To:
As you can see, I only had to include the new header file (ltdl.h), add the extra call lt_dlinit for initialize the library and rename the dlxxx functions by lt_dlxxx and that it was enough. Of course, being a windows program I compiled everything static for not needing extra DLLs, that means that I changed the library parameters in the makefile for libdisk from: And in the disk-analyse makefile from: Aside of using static , I need to link with the ltdl library instead of dl. And that is all, of course I should static compile the rest of disk-utilities, ... but as you can see the most traumatic change was to change from dl to gnu libtool. |
Beta Was this translation helpful? Give feedback.
-
Hi! :)
Although I use Linux, for a few friends is more easy to being able to use Windows.
For that case, I have compiled a windows version for them, because they are not so technical mind like me. Making possible that everybody can help with the preservation task.
I know that there is an issue open where somebody is asking for a pre-build windows binary and in the eab thread acd2001 usually upload windows executables. Then I only would like to give my vote for at least a windows version for when you make a release.
Thanks!
Mauri.
Beta Was this translation helpful? Give feedback.
All reactions