~ubuntu-branches/ubuntu/warty/avr-libc/warty

« back to all changes in this revision

Viewing changes to doc/INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2004-03-29 15:08:19 UTC
  • Revision ID: james.westby@ubuntu.com-20040329150819-ditjnl78x2q1k2s7
Tags: 1:1.0.3-1
Upstream update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Installation instructions:
2
2
 
3
 
1. build and install the current release of binutils (2.11 or later)
4
 
   for avr target (see http://sourceware.cygnus.com/binutils/)
5
 
 
6
 
2. build and install the current release of gcc (3.0 or later)
7
 
   for avr target (see http://gcc.gnu.org/)
8
 
 
9
 
   (use the following configure options:
10
 
    --target=avr --enable-languages=c
11
 
   to build for AVR target, and disable untested C++ Fortran Java etc.)
12
 
 
13
 
3. now you can build and install avr-libc -
14
 
   type "doconf; domake", then (as root, or user with write permissions
15
 
   to the installation directory) "domake install".
 
3
1. Build and install the current version of binutils from CVS (or release
 
4
   2.13 when available - older releases are not supported) for AVR target
 
5
   (configure --target=avr).  See http://sources.redhat.com/binutils/ .
 
6
 
 
7
2. Build and install the current version of GCC from CVS (or release 3.3
 
8
   when available - older releases are not supported) for AVR target
 
9
   (configure --target=avr --enable-languages=c,c++).  C++ support is
 
10
   still experimental and incomplete (no libstdc++), and needs testing.
 
11
 
 
12
3. Now you can build and install avr-libc -
 
13
   type "./doconf && ./domake", then (as root, or user with write
 
14
   permissions to the installation directory) "./domake install".
 
15
   Note: it is necessary to use a separate build directory for avr-libc
 
16
   (building in the source directory does not work correctly) - the
 
17
   "doconf" and "domake" scripts do just that.
16
18
 
17
19
By default, everything is installed under /usr/local - you can change
18
 
that if you execute "PREFIX='what_you_want' doconf". There are other
19
 
configure options if you like. Type "configure --help" to see them.
20
 
 
21
 
Important: you MUST use the current releases of all the tools
22
 
(gcc 3.0, binutils 2.11).  Older versions are likely to fail.
23
 
Old patches for gcc 2.95.2 and binutils 2.9.5.0.13 _will_ fail,
24
 
they are not supported anymore.  Besides, there have been lots
25
 
of bug fixes and improvements since then.
26
 
 
 
20
that if you execute "PREFIX='what_you_want' ./doconf". There are other
 
21
configure options if you like.  Type "./configure --help" to see them.
 
22
 
 
23
Important: you MUST use the current CVS or snapshots of GCC and binutils
 
24
(which will be released as GCC 3.3 and binutils 2.13).  Older versions
 
25
are not supported anymore, and will fail in various strange ways.
 
26
 
 
27
Note: If you obtained avr-libc directly from cvs, you will need to run the
 
28
reconf script. Be sure that you have autoconf-2.13 and automake-1.4 (patch
 
29
level >=4 should work but 1.5 or 1.6 will not).