[Top][All Lists]

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

Re: New member and how to cross-compile AVRDUDE

From: Joerg Wunsch
Subject: Re: New member and how to cross-compile AVRDUDE
Date: Fri, 31 Dec 2021 00:22:20 +0100

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

(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
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

Never trust an operating system you don't have sources for. ;-)

reply via email to

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