<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fi">
	<id>https://kulmapaikka.dy.fi/index.php?action=history&amp;feed=atom&amp;title=AVR_toolchain_on_Linux</id>
	<title>AVR toolchain on Linux - Muutoshistoria</title>
	<link rel="self" type="application/atom+xml" href="https://kulmapaikka.dy.fi/index.php?action=history&amp;feed=atom&amp;title=AVR_toolchain_on_Linux"/>
	<link rel="alternate" type="text/html" href="https://kulmapaikka.dy.fi/index.php?title=AVR_toolchain_on_Linux&amp;action=history"/>
	<updated>2026-08-04T00:52:06Z</updated>
	<subtitle>Tämän sivun muutoshistoria</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://kulmapaikka.dy.fi/index.php?title=AVR_toolchain_on_Linux&amp;diff=1040&amp;oldid=prev</id>
		<title>Masa: Create page</title>
		<link rel="alternate" type="text/html" href="https://kulmapaikka.dy.fi/index.php?title=AVR_toolchain_on_Linux&amp;diff=1040&amp;oldid=prev"/>
		<updated>2015-11-02T00:59:41Z</updated>

		<summary type="html">&lt;p&gt;Create page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uusi sivu&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=== AVR toolchain build instructions on Linux ===&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
Source: http://www.nongnu.org/avr-libc/user-manual/install_tools.html&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
- This shows how to install an AVR toolchain from source on Linux&amp;lt;br /&amp;gt;&lt;br /&gt;
- The toolchain consists of avr-binutils, avr-gcc and avr-libc&amp;lt;br /&amp;gt;&lt;br /&gt;
- They must be installed in that order&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Note: If you have CC set to anything other than avr-gcc in your environment, this will cause the configure script to fail. It is best to not have CC set at all.&lt;br /&gt;
&lt;br /&gt;
* First set up the PATH, and also a convenience PREFIX environment variable&lt;br /&gt;
  PREFIX=/usr/local/avr&lt;br /&gt;
  export PREFIX&lt;br /&gt;
  PATH=$PATH:$PREFIX/bin&lt;br /&gt;
  export PATH&lt;br /&gt;
&lt;br /&gt;
* First of the three we&amp;#039;ll install binutils:&lt;br /&gt;
  bunzip2 -c binutils-&amp;lt;version&amp;gt;.tar.bz2 | tar xf -&lt;br /&gt;
  cd binutils-&amp;lt;version&amp;gt;&lt;br /&gt;
  mkdir obj-avr&lt;br /&gt;
  cd obj-avr&lt;br /&gt;
  ../configure --prefix=$PREFIX --target=avr --disable-nls&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
  cd ../..&lt;br /&gt;
&lt;br /&gt;
* Next we&amp;#039;ll install avr-gcc:&lt;br /&gt;
  bunzip2 -c gcc-&amp;lt;version&amp;gt;.tar.bz2 | tar xf -&lt;br /&gt;
  cd gcc-&amp;lt;version&amp;gt;&lt;br /&gt;
  mkdir obj-avr&lt;br /&gt;
  cd obj-avr&lt;br /&gt;
  ../configure --prefix=$PREFIX --target=avr --enable-languages=c,c++ --disable-nls --disable-libssp --with-dwarf2&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
  cd ../..&lt;br /&gt;
&lt;br /&gt;
* And finally we&amp;#039;ll install avr-libc:&lt;br /&gt;
  gunzip -c avr-libc-&amp;lt;version&amp;gt;.tar.gz | tar xf -&lt;br /&gt;
  cd avr-libc-&amp;lt;version&amp;gt;&lt;br /&gt;
  ./configure --prefix=$PREFIX --build=`./config.guess` --host=avr&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
  cd ../..&lt;/div&gt;</summary>
		<author><name>Masa</name></author>
	</entry>
</feed>