C-8
Motorola DSP56000 Family Optimizing C Compiler User’s Manual
For More Information On This Product,
Go to: www.freescale.com
Motorola
look for that file in the current directory. The list of files will be processed sequentially in
the order given and all files will be used to generate the load file and map listing.
Note that some options (
-B
and
-M
) allow a hyphen as an optional argument which
indicates that the corresponding output should be sent to the standard output stream.
Unpredictable results may occur if, for example, the object file is explicitly routed to
standard output while the listing file is allowed to default to the same output stream.
C.1.6.1 dsplnk Options
Any of the following command line options may be specified. These can be in any order
but must precede the list of link file names (except for the
-L
option). Option letters may
be specified in either upper or lower case.
Option arguments may immediately follow the option letter or may be separated from the
option letter by blanks or tabs. However, an ambiguity arises if an option takes an optional
argument. Consider the following command line:
dsplnk -b
main io
In this example it is not clear whether the file main is a link file or is meant to be an
argument to the
-B
option. If the ambiguity is not resolved, the linker will assume that
main is a link file and attempt to open it for reading. This may not be what the programmer
intended.There are several ways to avoid this ambiguity. If main is supposed to be an
argument to the
-B
option, it can be placed immediately after the option letter without
intervening white space:
dsplnk -b
main io
If there are other options on the command line besides those that take optional arguments
the other options can be placed between the ambiguous option and the list of link file
names.
dsplnk -b
main
-v
io
Alternatively, two successive hyphens may be used to indicate the end of the option list:
dsplnk -b --
main io
In this case the linker interprets
main
as a link file name and uses the default naming
conventions for the
-B
option. Table C-4 lists the different Command Line Options that
can be used with dsplnk:
F
Freescale Semiconductor, Inc.
n
.