Friday 17 October 2014

Hi Surfers! 

I have came across some issues while installing the cross compiler mips-linux-gcc in Ubuntu 14.04. But some how i have managed to solved that and installed the cross compiler successfully in my machine.

Steps to install the mips-linux-gcc in Ubuntu

1. Add the following lines in /etc/apt/sources.list -

deb http://ftp.de.debian.org/debian squeeze main
deb http://www.emdebian.org/debian/ squeeze main


at the end of the file, save and quit the file

2.  Execute the following commands-
  • sudo apt-get update 
  • sudo apt-get install emdebian-archive-keyring
  • apt-get install linux-libc-dev-mips-cross libc6-mips-cross libc6-dev-mips-cross binutils-mips-linux-gnu gcc-4.4-mips-linux-gnu g++-4.4-mips-linux-gnu 
3. To check mips-linux-gcc is installed or not execute - 

    mips-linux-gnu-gcc -dumpmachine 

    This command Should output mips-linux-gnu 

Then you are ready to GO!!!!