Skip to content

Commit 02a2cab

Browse files
committed
Add a project-related INSTALL file
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1521 81a1dc3b-b13d-400b-aceb-764788c761c2
1 parent 6264404 commit 02a2cab

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

INSTALL

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Installation Instructions
2+
*************************
3+
4+
Use `./configure; make all; sudo make install' for Unix-like systems.
5+
6+
Depending on your requirements, the following prerequisites are
7+
needed:
8+
9+
* libelf including header files (for directly reading ELF files)
10+
* libusb 0.1 or 1.0 (or compatible), including header files
11+
* libftdi or libftdi1 (for direct access to FTDI devices)
12+
* libhidapi or libhid (for access to recent Atmel/Microchip dongles)
13+
14+
If the header and/or library files for one of those are found in
15+
non-default locations, you can add them to configure, e.g.
16+
17+
`./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib'
18+
19+
as an example for MacOS using Macports. MacOS Brew requires
20+
21+
`./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/Cellar'
22+
23+
instead. (LDFLAGS and CPPFLAGS can also be supplied as environment
24+
variables to configure.)
25+
26+
At the end of the configure script, a configuration summary is issued,
27+
like this:
28+
29+
Configuration summary:
30+
----------------------
31+
DO HAVE libelf
32+
DO HAVE libusb
33+
DO HAVE libusb_1_0
34+
DO HAVE libftdi1
35+
DON'T HAVE libftdi
36+
DON'T HAVE libhid
37+
DO HAVE libhidapi
38+
DO HAVE pthread
39+
DISABLED doc
40+
DISABLED parport
41+
DISABLED linuxgpio
42+
DISABLED linuxspi
43+
44+
Make sure all the features you are interested in have been found.
45+
46+
For BSD-like systems, using GNU make (gmake) is not mandatory but
47+
appears to cause less troubles with the quite complex dependency graph
48+
that might be produced by autoconf/automake.
49+
50+
For Windows, right now, a toolset like MinGW is required to compile
51+
AVRDUDE.
52+
53+
Obviously, a working C compiler is needed. Tested compilers so far
54+
include GCC (in various versions) and Clang. The compiler needs to
55+
support (at least) C99 language level. For MacOS, either Xcode or the
56+
(smaller) Xcode Command Line tools are needed, for Windows, some port
57+
of GCC that supports generating native Windows executables.

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Current:
8383
bug #55462: wrong programmer id check in jtag3_getsync() and jtag3_close()
8484
bug #58994: VPP PWM still enabled at the end of programming process
8585
bug #57338: if safemode has to change fuses avrdude should exit with non-zero exit code
86+
bug #60575: Permission denied on macOS Big Sur
8687

8788
* Patches:
8889
patch #9482: Add support for UPDI and AVR8X

0 commit comments

Comments
 (0)