Guyzz
Skip to the below url , as it contains a newer buildscript.
https://www.avrfreaks.net/index.p...
I have toyed a little around with the avr-gcc 4.3.2 toolchain , that is based on the WinAVR patches and included in FemtoOS 0.87.
I have adapted it to build under Ubuntu 8.04 , and have attached a zipfile with the modifications.
The Readme.txt
This toolchain is build using the excellent toolchain script included in femtoos.The version tested & used here is FemtoOS_0.87.zip
Download the femtoos archive here http://sourceforge.net/project/s...
I had to do a a little bit of modifications to the script , in order to get it to build under Ubuntu 8.04
And had to apply the makeinfo patch to binutils 2.18.
Steps to build :
1: Install all the packages mentioned in pre-reqs.txt
2: unzip FemtoOS_0.87.zip
3: Copy the binutils-makeinfo patch from the patch directory of this archive , to the same directory of FemtoOS_0.87
4: Copy the install_toolchain-ubuntu from the Install_Scripts directory of this archive to
the same directory of FemtoOS_0.87
5: Make sure the install_toolchain-ubuntu script is executable by doing a : chmod +x install_toolchain-ubuntu6: Maybe edit the PREFIX variable around line 106 , to a prefix of your liking.
It default installs the toolchain in PREFIX=FemtoOS_0.87/IDE/proc.
If you change it to the default of /usr/local/avr , the script must be run with the sudo command , in order to
have write access to the install dir.7: Change directory back to the main femtoos directory : FemtoOS_0.87
8: Build the toolchain by executing (remember sudo in front , if you install to /usr/local/avr).
Install_scripts/install_toolchain-ubuntuor
sudo Install_scripts/install_toolchain-ubuntu
All credit goes to the author of femtoos , and the avr-gcc etc .. teams (Eric , Jörg et all)
You could actually try to build some of the femtoos apps , they look nice.
/Bingo
I must admit i haven't tried to compile an avr program yet :oops: :oops:
I just had it to build correctly.
But i have had several PM's asking for a 4.3.x toolchain for Linux , and seen several requests here.
As always .. there are no guarantees
Ohh ... unpack the attached archive on a linux box with unzip
/Bingo