You copied the Doc URL to your clipboard.

--echo

Instructs the compiler to display the complete expanded command-line it uses, and any separate commands that it uses to invoke other external applications, such as armasm or armlink.

This command is useful when specifying options that cause multiple command invocations, such as GCC fallback.

Usage

If you use --echo when performing GCC fallback, you must specify it using -Warmcc,-echo.

Examples

To compile and link:

armcc --echo foo.c -o foo.axf
[armcc --echo -ofoo.axf foo.c]
[armlink -o foo.axf foo.o --fpu=SoftVFP --li]

To compile only:

armcc -c --echo foo.c -o foo.axf
[armcc --echo -c -ofoo.axf foo.c]