problem in installing binutils.

Asked by sirisha on 2014-05-27

. when am trying to install mspgcc on ubuntu 14.04 version am getting an error at "make" during installation of binutils... following are the commands i used.. sir please help me in fixing this error. Thanks in advance..

> wget http://ftpmirror.gnu.org/binutils/binutils-2.21.1a.tar.bz2
> tar xvfj binutils-2.21.1a.tar.bz2
> cd binutils-2.21.1
> patch -p1 < ../mspgcc-20120406/msp430-binutils-2.21.1a-20120406.patch
> cd ..
> mkdir -p BUILD/binutils
> cd BUILD/binutils
> ../../binutils-2.21.1/configure --target=msp430 --program-prefix="msp430-" --with-mpfr-include=/usr/local/include -with-mpfr-lib=/usr/local/lib --with-gmp-include=/usr/local/include -with-gmp-lib=/usr/local/lib --with-mpc-include=/usr/local/include -with-mpc-lib=/usr/local/lib
> make -j 4
> sudo make install
> cd ../..

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu binutils Edit question
Assignee:
No assignee Edit question
Solved by:
sirisha
Solved:
2014-05-28
Last query:
2014-05-28
Last reply:
2014-05-27
Manfred Hampl (m-hampl) said : #1

There are some msp430 packages available for Ubuntu for installation with the standard package management programs. Maybe you can use those instead of trying to compile your own version from source. see http://packages.ubuntu.com/search?keywords=msp430&searchon=names&suite=trusty&section=all

sirisha (sirisha-yanamadala) said : #2

Thats fine.. Thank you @Manfred Hampl (m-hampl)