Sourcery G++ (cross-compiler for ARM) installation failure

arm, codesourcery, cross-compiling

Solution

I suppose it is important to check your system requirements.

There is the possibility you are running a 64bit build of Ubuntu.

Sourcery G++ requires 32bit host libraries. Ensure those are installed.

In my mind, it may be easier to run a 32bit installation in a VM.

If that is not possible, there are installation logs in the 'uninstall' directory of your installation attempt directory. That may help you troubleshoot the issue.

Problem

I was trying to install Sourcery G++ cross-compiler for ARM on Ubuntu 10.04 LTS from the following link ->http://www.codesourcery.com/sgpp/lite/arm/portal/release644 I did not use the graphical interface since I got java.awt error. While using the console mode of installation, I provided all the details asked by the program.(changed the default location of installation) Some time into the installation, I got this error: Unable to create file links An error occurred while running an internal program. Please remove the toolchain from "/home//cross_compiler". EXITCODE=-1 I'm not sure what the reason is. I redid this process as a root user and I still got the same error.I am trying to install this on a 64 bit machine.

Original source