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 in Windows


From: Joerg Wunsch
Subject: Re: [avrdude-dev] How to compile Avrdude in Windows
Date: Sun, 13 Jun 2010 14:37:20 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

As Ben Porter wrote:

> At first I tried using Cygwin as per the documentation, but this
> method didn't work.

I think it will still work if you avoid using the latest version of
GCC in Cygwin.  The Cygwin folks decided to no longer provide MinGW
compatibility with that version.

> I've tried this method as well, but
> have had problems with missing libraries (packages?).

Unless you tell us *which* problems you encountered, there's not much
help we could get you, sorry.  Basically, the tools you need are:

. compiler
. yacc (byacc or bison) and lex (flex)
. optionally libusb-win32, if you want USB support

For the latter, you either have to copy over the usb.h and libusb.a
files into the MinGW tree from the libusb-win32 installation
directory, or you have to set the environment variables CPPFLAGS (for
the -I option to the C preprocessor) and LDFLAGS (-L option for the
linker) at the time when you run ./configure, so configure can
instruct the compile and linker to find libusb-win32.

-- 
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]