Please note: this article applies to Debian 7 "Wheezy" only, the steps described are not required for Debian 8 "Jessie" and above. For instructions on running CrossWorks on a 64-bit versions of Linux, see Installing CrossWorks on 64-bit Linux.
Instructions for installing Crossworks for Arm on AMD64 Debian Linux systems.
Do this as super user in order to point at glibc version 2.15 before
installing or running Crossworks. Note that this technique is general enough to
work with a variety of software.
A) Library Installation
A0) Obtain the 2.15 version of glibc plus the requisite infrastructure
from Ubuntu. It can be downloaded into a "safe" directory with
with the following commands.
A1) Create a directory into which the glibc 2.15 infrastructure will be installed.
A2) Unpack the Ubuntu package in the directory you just created.
dpkg -x safe/libc6_2.15-0ubuntu20_i386.deb /usr/local/glibc_2.15
B) Crossworks Installation
B1) Now set the LD_LIBRARY_PATH environment variable to reference
the directory containing glibc version 2.15. (i.e. At this point the
glibc_2.15 directory contains the complete glibc 2.15 infrastructure.)
Execute the following commands to set LD_LIBRARY_PATH. (i.e. Assume the
directory names used in the previous examples.)
B2) Install Crossworks according to the instructions.
C) Crossworks Execution Environment Preparation
The location of the library needs to be conveyed Crossworks each time it runs.
To achieve this with minimal difficulty, Crossworks is run by a script rather
than directly. This must be done as super user.
C1) Rename the Crossworks executable as follows.
mv crossssudio crossstudio.exe
C2) Create a script named crossstudio with the following contents and
the same permissions as the executable (i.e. Assume the directory
names in the previous examples.)
# Make glibc version 2.15 accessible to Crossworks.
Now you should be able to run Crossworks in the normal way as a normal user.
Please sign in to leave a comment.