I want to try a workaround for a problem in the context of https://github.com/libusb/libusb/issues/743 For that purpose I need to cross-compile for Windows. The recommended environment is MXE (https://sigrok.org/wiki/Windows).
I started with sigrok-util/README and sigrok-util/cross-compile/mingw/README. Following this documentation some requirements had to be installed: p7zip, unzip, nsis. There is this in the requirement list also: MXE (*-w64-*.posix targets; *-pc-* and non-posix targets are not supported) In the second section the MXE setup is described. Since it shall compile MXE from source in in Git repository, I didn't try to install MXE with apt as I did for the other requirements. I followed the steps in this sections: $ cd $HOME $ git clone https://github.com/mxe/mxe.git mxe-git $ cd mxe-git The next command looks like it only shows the idea, not the real paths. So I changed it to: $ pacth -p1 < path/to/sigrok-util/cross-compile/mingw/mxe-git Now I try to build the MXE target. The command in the README file is incorrect (missing backslash). But even with fixing this I get missing requirement messages for: autopoint, bison, flex, gperf, intltoolize, lzip, ruby, 7za. I could fix some of these with sudo apt install autopoint bison flex gperf lzip ruby apt failes to find intltoolize and 7za. make is still missing these requirements what is not surprisingly. - How can I (or skip) get these requirements? - Is my approach to setup the MXE cross-compile environment correct? Regards, Helge
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel