This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to run ARM compiler from Windows command line?

Hi

I have installed Arm Development Studio Gold Edition Free Trial on Windows and have successfully built an executable using the IDE. I now want to build from the command line.

This web page:

Building your first embedded image (arm.com)

has link:

configure your environment in order to run Arm Compiler 6 from the command-line

But that link is broken.

Where can I find information on how to set environment variables for working from the command line?

Best regards

David

Parents
  • Hi David

    Apologies for the broken link.  The correct link is
    developer.arm.com/.../Configure-a-compiler-toolchain-for-the-Arm-DS-command-prompt

    To summarize what you need to do for Arm DS on Windows:

    1. From the Windows Start menu, launch the "Arm DS 2021.1 Command Prompt"
    2. To select a compiler for the current session, enter "select_toolchain".  This shows the list of available compilers and allows you to select one.
    3. To select a compiler for the current and future sessions, enter "select_default_toolchain" instead.

    This sets all the necessary environment variables for compiling on the command-line.  See screen-shot below.

    Hope this helps,

    Stephen


Reply
  • Hi David

    Apologies for the broken link.  The correct link is
    developer.arm.com/.../Configure-a-compiler-toolchain-for-the-Arm-DS-command-prompt

    To summarize what you need to do for Arm DS on Windows:

    1. From the Windows Start menu, launch the "Arm DS 2021.1 Command Prompt"
    2. To select a compiler for the current session, enter "select_toolchain".  This shows the list of available compilers and allows you to select one.
    3. To select a compiler for the current and future sessions, enter "select_default_toolchain" instead.

    This sets all the necessary environment variables for compiling on the command-line.  See screen-shot below.

    Hope this helps,

    Stephen


Children
No data