Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

Install MDK3 on Ubuntu

By: nhutdm on Jul 22nd, 2011  |  syntax: Bash  |  size: 0.64 KB  |  views: 4,258  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Make sure that gcc is installed. In older Ubuntu, you need to install gcc-4.4.3. But in Ubuntu 10.04 LTS, gcc-4.4.3 is installed. To do this, you can type this command on terminal.
  2. sudo apt-get install gcc-4.4.3
  3. # Download the lastest version of MDK3.
  5. # Extract the archive in folder name MDK3 and open up terminal and follow the given steps. Edit file common.mak.
  6. cd mdk3/osdep
  7. sudo gedit common.mak
  8. You must find this line:
  9. CC = $(TOOL_PREFIX)gcc
  10. And replace it with:
  11. CC = $(TOOL_PREFIX)gcc-4.4.3
  12. # Save common.mak, now you can install MDK3 into your system.
  13. sudo make
  14. sudo make install
clone this paste RAW Paste Data