|
From: | Bob Paddock |
Subject: | Re: [avrdude-dev] Building AVRDUDE 5.2 under cygwin @WINDOWS_DIRS@: No such file or directory |
Date: | Thu, 09 Nov 2006 12:50:38 -0500 |
User-agent: | Opera Mail/9.02 (Win32) |
On Wed, 08 Nov 2006 21:58:34 -0500, Neil Davey <address@hidden> wrote:
This is the sequence I used to build my a version of avrdude 5.1 under cygwin with libusb support... I havn't tried it with the latest cvs though...
To get it to bootstrap with the latests and greatest (?) cygwin tools, and todays CVS checkout, you have to replace: #SUBDIRS = @SUBDIRS_AC@ #DIST_SUBDIRS = @DIST_SUBDIRS_AC@ with: SUBDIRS = @WINDOWS_DIRS@ DIST_SUBDIRS = windows in Makefile.am. I also removed the 'doc' from the above. You can get the html docs to build with out much pain but then things fall apart for the other documentation styles. Now that I have a working version, I've run in to a problem with the mega645, I'll post that in a separte thread.
1) Install Libusb filter driver into default location (libusb-win32-filter-bin-0.1.10.1 was the version I used) 2) get latest avrdude from cvs (cvs -z3-d:pserver:address@hidden:/sources/avrdude co avrdude)(downloaded at 20:30 GMT+1000 on 21St Sep 06) 3) cd avrdude 4) setup export flags export CPPFLAGS="-IC:\progra~1\libusb~1.1\include" export CFLAGS="-g -O -IC:\progra~1\libsub~1.1\include" export LDFLAGS="-LC:\progra~1\libusb~1.1\lib\gcc" 5) ./bootstrap 6) ./configure 7) make
if build fails complaining about _gettimeofday
Did not run into that.
[Prev in Thread] | Current Thread | [Next in Thread] |