AVR development toolchai
Hi,
I am trying to install the toolchain for atmel's microcontrollers I am following this link http://www.nongnu.org/avr-libc/user-...nstall_avr_gcc to install the softwares. But i am having difficulty installing AVR LIBC, Quote:
|
Quote:
1) The sign $ means building as an unprivileged user. Using root ( # ) is asking for trouble. The only allowed root command is # make install. Recommended directory for building software is /home/'name'/<dir> e.g. /home/ruzvay/tmp/ 2) A build directory is required for binutils, gcc, glibc. Preferrable outside the application. Hence the two periods : ../configure --<option> ( The instructions use the name 'avr-obj' for build-directory.) Starting with an empty /home/ruzvay/tmp/ : a) cd tmp/ b) mkdir build-binutils c) tar xvf <path-to> binutils-<version> d) cd build-binutils/ ( which is empty.) e) ../binutils-<version>/configure --<option> --<option> Better delete, what you have done so far. If no build-directory was used for binutils, gcc. Binutils may work or may not. GCC will not be usable for anything. ..... P.S. : The only recommended tool chain, I know, is crosstool-NG http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool http://ymorin.is-a-geek.org/dokuwiki...load_and_usage hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng The package 'mercurial' providing /usr/bin/hg is required. 'crosstool-NG' is continiously maintained. Last update : two weeks ago. http://www.linuxquestions.org/questi...12-a-798457/#2 > > post # 2, @ theNbomr is a crosstool expert. ..... |
thanx knudfl!!!
however I am unable to uninstall the previous installation of binutils and avr-gcc!! I used make uninstall in the compiling folders which did not work. later i tried the following in AVR Libc folder Quote:
Quote:
|
The source files used for some earlier or unsuccessful
builds cannot be reused. You will have to delete everything. Files that were handled by root, must be deleted as root. And then start from scratch. Some packages have no uninstall function ( # make uninstall ). You must find where you installed the files, if you want them removed. And then just delete them. About ../configure not finding avr-gcc, avr-g++, etc. http://www.nongnu.org/avr-libc/user-...ools.html#path You are probable forgetting to set or export the path to e.g. /usr/local/avr/gcc/ . ( ../configure CC=avr-gcc CXX=avr-g++ , can also be used if you include the full path.) ..... ..... Still : The only recommended toolchain is 'crosstool-NG', which includes avr. ..... |
All times are GMT -5. The time now is 12:13 AM. |