Keil Logo

DS-5: Building Applications Using GCC on An Ubuntu Host Fails


Information in this knowledgebase article applies to:

  • ARM Development Studio 5

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

Last Reviewed: Friday, January 29, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.