Appendix B. Options for the M68000 Family

Table of Contents
B.1. Compiler Options
B.2. Assembler Options
B.3. Motorola Syntax
B.4. MIT Instruction Syntax
B.5. Floating Point
B.6. Machine Directives
B.7. Opcodes
B.8. Linker Options

The description of the Ada compiler in XGC Ada User's Guide includes information that applies to all target computers. In addition, the compiler offers several target-dependent options that specify which member of the M68000 family is targeted.

The default target is the MC68040. If you wish to target some other member of the 68000 family, then you must do the following:

B.1. Compiler Options

The compiler options that specify a target computer are as follows:

-m68000, -mc68000

Generate output for a MC68000, MC68008 or MC68010.

-m68020, -mc68020

Generate output for a MC68020.

-m68040, -mc68040

Generate output for a MC68040, including the floating point instructions. This is the default.

-mcpu32

Generate code for CPU32 computers, such as the MC68332 and MC68340.

-m68881, -mc68881

Generate output containing MC68881 instructions for floating point. Except for the MC68040, in the absence of this option, calls are made to a floating point library (which is not included).

-msoft-float

Generate output containing calls to a floating point library. This is the default with the MC68000 and MC68020.

-mbitfield, -mno-bitfield

Generate (don't generate) bit field instructions.