This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to install msp430-gcc on ubuntu 14.04

Other Parts Discussed in Thread: CC430F5137

Hi


I am using ubuntu 14.04 64 bit on virtualbox on Windows 8.1 64 bit host.


I have to build some project and the project uses cmake system. I need to cross compile my project for cc430f5137 and for this i require msp430 gcc.

I downloaded the msp430-gcc-full-linux-installer-3.2.3.0.run file as mentioned here .

when i downloaded then I did

sudo chmod +x msp430-gcc-full-linux-installer-3.2.3.0.run

then when I type

./msp430-gcc-full-linux-installer-3.2.3.0.run

nothing happens and I get a new line on terminal.

if I type

sh ./msp430-gcc-full-linux-installer-3.2.3.0.run

then I get the following error

./msp430-gcc-full-linux-installer-3.2.3.0.run: 1: ./msp430-gcc-full-linux-installer-3.2.3.0.run: Syntax error: "(" Unexpected

Even if I double click the.run file from the files directory, nothing happens

i am new to linux and I am doing this for the first time. I have searched the internet but I havent found anything useful.

Please help me in setting up the msp430 gcc tool chain

Thanks

  • It works for me.  But I only tried it on a standard Linux machine.  

    Mohammad Hassan Shahid said:
    I am using ubuntu 14.04 64 bit on virtualbox on Windows 8.1 64 bit host.

    I doubt it has been tested in that setup.  That may have something to do with it.  This is the first I have heard of virtualbox.  Have you checked with them for possible problems or workarounds?

    Thanks and regards,

    -George

  • Mohammad Hassan Shahid said:
    I am using ubuntu 14.04 64 bit on virtualbox on Windows 8.1 64 bit host.

    If the installer exits without reporting an error it might be due to missing a required 32-bit library - since have seen the same behavior with the CCS installer.

    Try running the installer under strace, since that may highlight what the problem is. 

  • HI

    I got the solution. I installed Code Composer Studio 6.1.0 for linux. And then when I installed msp430-gcc, it executed like a charm.

    Thanks