Hi Joerg, Hi Marius, It looks like Marius is currently implementing some serious improvements on the Windows build system. I think I'll just wait for that effort to be completed before trying again to build AVRDUDE for Windows.
Kind regards, Kristof ----- Oorspronkelijk bericht ----- Van: "Joerg Wunsch" <[email protected]> Aan: "avrdude-dev" <[email protected]> Verzonden: Vrijdag 31 december 2021 00:22:20 Onderwerp: Re: New member and how to cross-compile AVRDUDE As [email protected] wrote: > How to cross-compile AVRDUDE? Until now, I have been shipping the Windows builds for AVRDUDE built as cross-compilations on my FreeBSD system, using MinGW32 cross compiler. (Why? Because so far, nobody volunteered to offer a Windows build.) You can find the script I'm using in the tools/ directory. I think I also tested that under some Linux distros, that's why the script is searching for different possible compiler names. But, as Marius also suggested, the major trick here is to provide the prerequisite packages in that cross-compilation environment, in particular libusb (any version), and hidapi. I remember I have once been cross-compiling that into my MinGW32 environment manually, as that's usually where cross-compilation packages of your Linux (or my FreeBSD :) distro leave you alone. In the end, I did test the result in certain VM or real Windows installations. -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
