Zilog ZUSBOPTS Manual do Utilizador Página 377

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 376
UM017105-0511 Building a Project from the Command Line
Zilog Developer Studio II – ZNEO™
User Manual
349
Appendix A. Running ZDS II from the
Command Line
You can run ZDS II from the command line. ZDS II generates a make file
(project
_Debug.mak or project_Release.mak, depending on the project configuration)
every time you build or rebuild a project. For a project named
test.zdsproj set up in
the Debug configuration, ZDS II generates a make file named
test_Debug.mak in the
project directory. You can use this make file to run your project from the command line.
This section covers the following topics:
Building a Project from the Command Line – see page 349
Running the Compiler from the Command Line – see page 350
Running the Assembler from the Command Line – see page 351
Running the Linker from the Command Line – see page 351
Assembler Command Line Options – see page 351
Compiler Command Line Options – see page 354
Librarian Command Line Options – see page 356
Linker Command Line Options – see page 357
Building a Project from the Command Line
To build a project from the command line, observe the following procedure:
1. Add the ZDS II bin directory (for example,
C:\Program
Files\Zilog\ZDSII_Z8Encore!_4.11.0\bin
) to your path by setting the PATH
environment variable. The make utility is available in this directory.
2. Open the project using the IDE.
3. Export the make file for the project using the Export Makefile command in the
Proj-
ect
menu.
4. Open a DOS window and change to the intermediate files directory.
5. Build the project using the make utility on the command line in a DOS window.
6. To build a project by compiling only the changed files, use the following command:
make -f sampleproject_Debug.mak
To rebuild the entire project, use the following command:
Vista de página 376
1 2 ... 372 373 374 375 376 377 378 379 380 381 382 ... 519 520

Comentários a estes Manuais

Sem comentários