3

(Related question, never answered: Show complete commands during build in Keil uVision)

Hi,

I am using μVision V5.38.0.0 with the compiler armcc V5.06 update 7 (build 960). Below, you can see "compiling XXX.c...". I would like the complete build command to be shown.

Before build command

As you can see in the screenshot, I try --show_cmdline option, but it throws an error (see the picture).

How can I show the complete build command (for each file)?

Thanks in advance.

asked Aug 29, 2023 at 9:05

1 Answer 1

3

Currently there is no way to show the full command in the output window.

The closest thing that I've been able to get is to use the 'Create Batch File' option. On a full rebuild, this will build a batch file that has all the commands used to build the project.

KEIL creates ".__i" files that it uses in the command line. These files are referenced when building and contain the full command with arguments that is used for a given source file.

Below is an example of what could be in the batch file. enter image description here

And this is what the contents of a given ".__i" file might look like. enter image description here

Note that this is just the output of a quick project that I have at hand and is for the ARMClang compiler and probably for a different processor. Depending on the project settings that you have enabled, the arguments and other output may appear different.

That being said, I wish they would update KEIL to have an option to output the full commands and have a complete log with the full commands.

answered Oct 23, 2023 at 16:41
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.