problem in installing binutils

Posted by user3667930 on Ask Ubuntu See other posts from Ask Ubuntu or by user3667930
Published on 2014-05-27T09:11:07Z Indexed on 2014/05/27 9:56 UTC
Read the original article Hit count: 222

Filed under:

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 ../..

© Ask Ubuntu or respective owner

Related posts about binutils