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-
mips-linux-gnu-gcc -dumpmachine
This command Should output mips-linux-gnu
Then you are ready to GO!!!!
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
mips-linux-gnu-gcc -dumpmachine
This command Should output mips-linux-gnu
Then you are ready to GO!!!!
Hello,
ReplyDeleteI try the first CLI ,' sudo apt-get update' but I get the Error:
"W: GPG error : http://www.emdebian.org squeeze InRelease: The following signatures were invalid : REVKEYSIG B5B7720097BB3B58 Emdebian Archive Signing Key
If you didn't updated the /etc/apt/sources.list file(as i mentioned), you cant install the "emdebian-archive-keyring" package.
DeleteNOTE : If you face error/warning in "apt-get update" also, it will work.
Updating the /etc/apt/sources.list is a hack(to identify the package) to install "emdebian-archive-keyring" package. Please try to execute the next command.