• R/O
  • SSH
  • HTTPS

avrdude: Commit


Commit MetaInfo

Revision1450 (tree)
Time2020-01-09 03:40:28
Authorgottfried

Log Message

README actualized with make instead of ./configure

Change Summary

Incremental Difference

--- trunk/tools/install_build_debian.sh (nonexistent)
+++ trunk/tools/install_build_debian.sh (revision 1450)
@@ -0,0 +1,7 @@
1+#! /bin/sh
2+
3+
4+# install buildsystem for avrdude
5+sudo apt-get install bison flex make gcc \
6+ libelf-dev libusb-dev libusb-1.0-0-dev libftdi-dev libreadline-dev libhidapi-dev libftdi1-dev \
7+ texi2html texinfo texlive
--- trunk/tools/install_build_pi.sh (nonexistent)
+++ trunk/tools/install_build_pi.sh (revision 1450)
@@ -0,0 +1,9 @@
1+#! /bin/sh
2+
3+
4+# install buildsystem for avrdude
5+sudo apt-get install bison flex make gcc \
6+ libelf-dev libusb-dev libusb-1.0-0-dev libftdi-dev libreadline-dev libhidapi-dev
7+
8+# uncomment next line if you need to build documentation (needs verry long time to install and needs much space on SD)
9+#sudo apt-get install texi2html texinfo texlive
--- trunk/README (revision 1449)
+++ trunk/README (revision 1450)
@@ -5,42 +5,32 @@
55 http://savannah.nongnu.org/projects/avrdude
66
77
8-Important environment variables for ./configure:
8+Install packages for build avrdude
99 ================================================
1010
11-CPPFLAGS: C preprocessor flags (*not* "C++")
11+For Debian or Raspberry Pi run the install script in tool folder
12+> tools/install_build_debian.sh
1213
13-This is the place to put additional (non-standard) -I options into.
14-For example, if your Windows system has LibUSB-Win32 installed into
15-\\WINDOWS\ProgramFiles\LibUSB-Win32, use
14+For windows you have to install Cygwin or Cygwin64 (MinGW or MSys not tested)
15+You must install these packages with Cygwin package manager:
16+ libftdi1-devel libelf-devel libhidapi-devel libusb-devel libusb1.0-devel libreadline-devel
17+ libtool texi2html texinfo-tex
1618
17-CPPFLAGS=-I/WINDOWS/ProgramFiles/LibUSB-Win32/include
1819
19-to tell configure where to search for the header files. (The use of
20-forward slashes rather than backslashes can often simplify things.
21-Note that the Windows system services internally treat both the same.
22-It's only cmd.exe which requires backslashes as the directory
23-separator.)
20+Build avrdude
21+=====================================================
2422
25-LDFLAGS: Linker options
23+Windows users starts the Cygwin64 Terminal
24+Linux users starts a shell (bash, dash, whatever...)
25+The character ">" is the command prompt
2626
27-This is the place to make additional library locations known to the
28-linker. To continue the above example, use
27+> make
2928
30-LDFLAGS=-L/WINDOWS/ProgramFiles/LibUSB-Win32/lib/gcc
29+do build with documents:
30+> make all doc
3131
32-to make the linker search for "libusb.a" in that directory.
32+To clean up
33+> make clean
3334
34-
35-Linux users: make sure the header files are installed
36-=====================================================
37-
38-While many Linux distributions install the libraries needed by AVRDUDE
39-(libusb, libelf) by default, they leave out the corresponding header
40-files. Consequently, the configure script won't find them, so these
41-libraries could not be used.
42-
43-Usually, the packages with the header files (and static libraries) are
44-derived from the regular package name by appending "-devel". Thus,
45-make sure you have "libusb-devel" and "libelf-devel" installed before
46-running the configure script. (Same goes for libftdi.)
35+To rebuild all
36+> make clean all doc
\ No newline at end of file
Show on old repository browser