To call the command-line tools, use the following format:
| Tools | File Names | Format |
|---|---|---|
| Compiler | mwcc56800e.exe | compiler-options [linker-options] file-list |
| Linker | mwld56800e.exe | linker-options file-list |
| Assembler | mwasm56800e.exe | assembler-options file-list |
The compiler automatically calls the linker by default and any options from the linker is passed on by the compiler to the assembler. However, you may choose to only compile with the -c flag. In this case, the assembler will only assemble and will not call the linker.
Also, available are environment variables. These are used to provide path information for includes or libraries, and to specify which libraries are to be included. You can specify the variables listed in the following table.
| Tool | Library | Description |
|---|---|---|
| Compiler | MWC56800EIncludes | Similar to Access Paths panel; separate paths with ';' and prefix a path with '+' to specify a recursive path |
| Linker | MW56800ELibraries MW56800ELibraryFiles |
Similar to MWC56800EIncludes List of library names to link with project; separate with ';' |
| Assembler | MWAsm56800EIncludes | Similar to MWC56800EIncludes |
These are the target-specific variables, and will only work with the DSP56800E tools. The generic variables MWCIncludes, MWLibraries, MWLibraryFiles, and MWAsmIncludes apply to all target tools on your system (such as Windows). If you only have the DSP56800E tools installed, then you may use the generic variables if you prefer.