f78
When you run gcc,
you can use command-line options to choose machine-specific details. For
information on all the gcc
command-line options, see GNU
CC Command Options in Using
GNU CC in GNUPro Compiler Tools.
-ms
Generate code for the H8S
processor.
-mh
Generate code for the H8/300H
chip.
-mint32
Use 32-bit integers when
compiling for the H8/300H.
-g
The compiler debugging option,
-g,
is essential to see interspersed high-level source statements, since, without
debugging information, the assembler cannot tie most of the generated code
to lines of the original source file.
The Hitachi H8/300 has no floating point support. Two kinds of floating point subroutines are useful with gcc: