Advertisement
Guest User

Untitled

a guest
Aug 30th, 2011
1,332
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Hi Anil!
  2.  
  3. I've finished compiling mspgcc4 under Ubuntu 11.04 x86, and it works well! :)
  4.  
  5. I followed these instructions http://rubenlaguna.com/wp/2011/02/11/compiling-openchronos-in-windows/ with few modifications to Ubuntu.
  6.  
  7. Modded steps for Ubuntu:
  8.  
  9. First step: You will need to install these packages wget, patch, make, python, perl(these are installed in basic install of Ubuntu), and install texinfo, gcc-4.4, g++-4.4, and git.
  10.  
  11. ...follow Rubén's 2.-3. step...
  12.  
  13. Fourth step: Before you start to build mspgcc4, you have to edit the buildgcc.pl(or use the version I've sent with this mail). In line 137 there is $GNU_MIRROR="http://ftp.uni-kl.de";
  14. you should change it to $GNU_MIRROR=http://mirrors.usc.edu; because the ftp.uni-kl.de gives 404 to the binutils 2.21 sourcefile.
  15. Change the URL at line 15 in do-binutils.sh . Now you can follow Rubén's fourth step.(Rubén's selections [gcc-4.4.5, no gdb, no insight, ti_20110130, and the rest of the defaults] worked for me here)(It takes 2,5 hours)
  16.  
  17. ...follow Rubén's 5. step...
  18.  
  19. Sixth step: Add export PATH=$PATH:/opt/msp430-gcc-4.4.5/bin to /etc/bash.bashrc
  20.  
  21. After that, you can follow Rubén's steps until your first finished firmware! :)
Advertisement
RAW Paste Data Copied
Advertisement