Installing Crossworks for ARM on 64 Bit Debian 7 "Wheezy" Linux Systems

Comments

7 comments

  • Avatar
    Robert Wood

    I don't have to do any of this on Mageia. I just install it in /opt as su, it puts an entry in my menu and it just works. The only thing I have to do on fresh installations is a udev rules for the JTAG interface,

    0
    Comment actions Permalink
  • Avatar
    Paul Romero

    Mageia is not Debian and not from the same Linux branch as Debian and Ubuntu.

    0
    Comment actions Permalink
  • Avatar
    Robert Wood

    I appreciate that, I was just raising a doubt that it should be so complicated on Debian. Does Crossworks not ship with its own version of the gcc for example?

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    As far as current Linux distributions are concerned, I believe this only really effects the current Debian release (V7 Wheezy, both 32-bit and 64-bit versions). The latest Debian derived distributions such as Ubuntu and Mint are fine, as are other non-Debian distributions. The problem is down to the fact that for some reason Debian 7 is using a very old version of glibc (2.13). Any distributions that use glibc version 2.15 or above do not require these steps to be carried out, this should be most distributions in the last two years.

    A separate issue is that of installing CrossWorks on a 64-bit version of Linux which has been addressed here.

    For completeness, here are the steps I took on a clean 64-bit Debian 7.6.0 installation in order to get CrossWorks up and running:

    * As root, install the 32-bit libraries (this is only necessary if using the 64-bit version of Debian):

    dpkg --add-architecture i386
    apt-get update
    apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386 ia32-libs
    


    * Download the Ubuntu 12.04 LTS version of libc from http://packages.ubuntu.com/precise/i386/libc6-udeb/download

    * As root, extract package to a directory using the following command line:

    dpkg-deb -x libc6-udeb_2.15-0ubuntu10_i386.udeb /ubuntu-packages
    

     
    * Setup LD_LIBRARY_PATH to point to this directory using the following command line:

    export LD_LIBRARY_PATH="/ubuntu-packages/lib:$LD_LIBRARY_PATH"
    

     
    With LD_LIBRARY_PATH set you can run the installer and run crossstudio - you'll need to do both of these from the command line (crosstudio can be found at /usr/share/crossworks_for_arm_3.2/bin/crossstudio).

    0
    Comment actions Permalink
  • Avatar
    Robert Wood

    Fair enough! :)

    0
    Comment actions Permalink
  • Avatar
    Joshua Baker

    I've already installed CrossWorks for MSP430 on Kubuntu 14.04. Does this still work after installation?

     

    [CODE]

        wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ub...

    [\CODE]

     

    also this link is broken so i cant try this.

    0
    Comment actions Permalink
  • Avatar
    Joshua Baker

    I have CrossWorks for the MSP430 Installed on kubuntu 14.04 64-bit. Do i need to take these steps after installation?

    i havent tried because this link is broken.

    [CODE]

        wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ub...

    [\CODE]

    0
    Comment actions Permalink

Please sign in to leave a comment.