Response File

In addition to specifying commands in the argument list, you may also specify a “response file”. A response file’s filename begins with an ‘@’ (for example, @file), and the contents of the response file are commands to be inserted into the argument list. The response file supports standard UNIX-style comments. For example, the response file @file, contains the following:

Listing: Response file
# Response file @file

-o out.elf        # change output file name to 'out.elf'

-g                # generate debugging symbols

The above response file can used in a command such as:

mwcc56800e @file main.c

It would be the same as using the following command:

mwcc56800e -o out.elf -g main.c