ARM Technical Support Knowledge Articles

SELECTING DIFFERENT GNU VERSIONS

Applies to: GNU C Compiler for ARM

Answer


Information in this article applies to:


QUESTION

Is there a way to select a different version of a GNU ARM toolchain? What are the steps required? When I try to translate with the GNU ARM toolchain I get the following error messages:

--- Error: can't execute 'as'
--- Error: can't execute 'gcc'

What causes this error?

ANSWER

To use GNU toolchain variants, uVision V3.21 allows you to specify a GNU-Tool-Prefix. If this parameter is not configured properly, you may get the error message shown above.

To select the GNU toolchain open the dialog Project - Components, Environment, Books - Folders/Extensions.

Use GNU Tools selects the GNU development tools for a project. The setting Cygnus Folder specifies the path to the GNU installation folder. The GNU-Tool-Prefix allows you to use GNU toolchain variants.

Examples for the various GNU versions:

GNU V3.22 with uclib:

CodeSourcery G++ with new-lib:

GNUARM V4 with standard library:

MORE INFORMATION

SEE ALSO

Article last edited on: 2006-08-17 19:43:29

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