Syntax

-x type

Description

The -x option causes the compiler driver to treat subsequent files to be of the following file type

Example

The following command line enables an assembly code file with the extension .arm to be assembled.

cc -xasm a.arm