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. ;-)

_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to