ARM Technical Support Knowledge Articles

Building applications using GCC on an Ubuntu host fails

Applies to: DS-5

Answer


Information in this knowledgebase article applies to:


SYMPTOM

Building applications using gcc on an Ubuntu host fails.

CAUSE

DS-5 is supplied with pre-built copies of gcc and other GNU tools. The DS-5 bin directory contains wrapper scripts to launch these tools, and these are configured to run using the bash shell. Many Ubuntu systems have dash installed instead of bash. This problem happens whether you are building an image using Eclipse or on the command-line.

RESOLUTION

Ubuntu is not a supported host system for DS-5. However, this problem can be overcome by editing the wrapper scripts in the bin folder of your DS-5 installation and changing the line at the top from:

#!/bin/sh

to:

#!/bin/bash

Article last edited on: 2010-07-28 10:17:49

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential