Archiver Utility. NXP CodeWarrior Development Studio
Реклама
Реклама
Chapter 14
StarCore DSP Utilities
This chapter explains how to use the utility programs included in the CodeWarrior
Development Studio for StarCore 3900FP DSP Architectures
product.
This chapter explains:
•
•
•
•
•
•
14.1 Archiver Utility
Use the Archiver utility groups to separate object files into a single file for linking or archival storage.
You can add, extract, delete, and replace files in an existing archive.
To invoke the Archiver utility from the command prompt, type:
sc100-ar [Options] archive <file...>
NOTE
The sc100-ar
utility is in this directory:
Parameters
<CWinstallDir>\StarCore_Support\compiler\bin
Archiver utility command-line options are case-sensitive.
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
Freescale Semiconductor, Inc.
337
Archiver Utility
option
Table 14-1 defines the purpose and effect of each command-line option.
archive
Name of the archive file.
file
Name of the file or files to add, extract, replace, or delete from the specified archive file.
Separate multiple filenames with spaces. The archiver processes files in the order listed on the command line.
argument file
Name of a file that contains archiver command-line options. The syntax rules for an argument file are listed below.
• Begin a comment line with the # character.
• Each line must end with a backslash (\) character.
Table 14-1. Archiver Utility-Command-Line
Options
Option
-c
-d
-e
-f
-p
-r
-s
Description
Suppresses the default diagnostic message written to standard error when the archive is created. This option is valid only with the -r option.
Deletes the listed files from the specified archive.
Recreates the whole archive. This option is valid only with the -r option.
Forces adding an unknown file format to the library.
This option is valid only with the -r option.
Writes the contents of the listed files from the specified archive to the standard output. If the command does not include any filenames, the archiver writes the contents of all files, in their order in the archive.
Replaces the files, appends new files to the specified archive, or creates a new archive that contains the listed files.
Forces the extraction of .elf files from the specified archive, addition or replacement the .elf files instead of the whole archive. This option is valid with just the -r option.
Table continues on the next page...
CodeWarrior Development Studio for StarCore 3900FP DSP Architectures Targeting Manual, Rev. 10.9.0,
11/2015
338 Freescale Semiconductor, Inc.
Скачать
Реклама