This chapter summarizes how to use the cross compiler. The management of compilation, cross-development and debugging are described briefly.
M1750 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 M1750 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/m1750-ada-1.7/, for example, with the executable images in the directory /opt/m1750-ada-1.7/bin/.
The main program of the M1750 Ada compiler is called m1750-coff-gcc and is located in the directory /opt/m1750-ada-1.7/bin/. Depending on which source files and command line options are given, the main program calls 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 m1750-coff-as.