Download EVM User`s manual
Transcript
Example Test Program Motorola DSP Linker This example redirects the standard error output to the file errors. If the file already exists, it will be overwritten. -F<argfil> This option indicates that the Linker should read command line input from <argfil>. <argfil> can be any legal operating system filename, including an optional pathname. <argfil> is a text file containing further options, arguments, and filenames to be passed to the Linker. The arguments in the file need be separated only by some form of white space. A semicolon on a line following white space makes the rest of the line a comment. Example: dsplnk -Fopts.cmd This example invokes the Linker and takes command line options and input filenames from the command file opts.cmd. -G This option sends source file line number information to the object file. The generated line number information can be used by debuggers to provide source-level debugging. Example: dsplnk -B -Gmyprog.cln This example links the file myprog.cln and sends source file line number information to the resulting object file myprog.cld. -I The Linker ordinarily produces an absolute executable file as output. When the -I option is given, the Linker combines the input files into a single relocatable object file suitable for reprocessing by the Linker. No absolute addresses are assigned and no errors are issued for unresolved external references. Note that the -B option must be used when performing incremental linking in order to give an explicit name to the output file. If the filename were allowed to default, it could overwrite an existing input file. Example: dsplnk -I -Bfilter.cln main.cln fft.cln fio.cln In this example, the files main.cln, fft.cln, and fio.cln are combined to produce the relocatable object file filter.cln. 3-18 DSP56302EMUM/AD, Preliminary MOTOROLA