avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] How to compile avrdude for Windows on Mac OS X?


From: Joerg Wunsch
Subject: Re: [avrdude-dev] How to compile avrdude for Windows on Mac OS X?
Date: Wed, 18 Jan 2012 17:28:28 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As Christian Moll wrote:

> I installed mingw through MacPorts. And called
> ./configure --target=i586-mingw32

Ah, now I tried the same on my FreeBSD, and I see it:

> gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -DWIN32NATIVE -MT loaddrv.o ...
  ^^^

It's calling the native compiler.  Configure it as

env CC=mingw32-gcc ./configure --target=i586-mingw32 --host=`./config.guess`

and it will compile.

However, I'm afraid the cross-build stands no chance of including libusb
support, as this would require the availablity of a MinGW-ized version of
libusb on the host.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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