avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New member and how to cross-compile AVRDUDE


From: kristof . mulier
Subject: Re: New member and how to cross-compile AVRDUDE
Date: Fri, 31 Dec 2021 10:51:28 +0100 (CET)

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" <j@uriah.heep.sax.de>
Aan: "avrdude-dev" <avrdude-dev@nongnu.org>
Verzonden: Vrijdag 31 december 2021 00:22:20
Onderwerp: Re: New member and how to cross-compile AVRDUDE

As kristof.mulier@telenet.be 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. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]