| M68K Ada Technical Summary: For mission-critical applications on Motorola M68000 family computers | ||
|---|---|---|
| Prev | Next | |
This chapter summarizes how to use the cross compiler. The management of compilation, cross-development and debugging are described briefly.
M68K Ada uses the UNIX shell command line interface. The compiler, the tools and the libraries are systematically named, and installed in a formal directory structure. This permits different versions of M68K Ada to be installed and used at the same time, without confusion over which files belong to which version. For the compiler, the convention is this. The native compiler is called gcc, and is located in the directory /usr/bin, or in /usr/local/bin. Cross compilers have a different name, and are installed under /opt/m68k-ada-1.7/, for example, with the executable images in the directory /opt/m68k-ada-1.7/bin/.
The main program of the M68K Ada compiler is called m68k-coff-gcc and is located in the directory /opt/m68k-ada-1.7/bin/. Depending on which source files and command line options are given, the main program will call the Ada compiler, C compiler, assembler, or linker.
The other executable images are named in the same way. For example, the native assembler is called as; the cross assembler is called m68k-coff-as.