Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑mfc

In this section:
Syntax

‑‑mfc

Description

Use this option to enable multi-file compilation. This means that the compiler compiles one or several source files specified on the command line as one unit, which enhances interprocedural optimizations. The resulting object file is named after the first specified source file.

Example

iccarm myfile1.c myfile2.c myfile3.c ‑‑mfc

See also

‑‑discard_unused_publics, ‑‑output, -o, and Multi-file compilation units.

Caution

Project>Options>C/C++ Compiler>Multi-file compilation