Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation

Compiler options for m68k Contents|Index|Previous|Next
 Compiler options for m68k 

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.

See the following documentation for discussion of more compiler options for m68k.

gcc options for architecture and code generation for m68k
    -g
      The ‘-g’ compiler debugging option 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.

    -m5200

      Generate code for the Motorola m5200 Coldfire.

    -m68000

      Generate code for the Motorola m68000.
       
    -m68020
      Generate code for the Motorola m68020.

    -m68030

      Generate code for the Motorola m68030.

    -m68040

      Generate code for the Motorola m68040. Also enables code generation for the 68881 FPU by default.

    -m68060

      Generate code for the Motorola m68060. Also enables code generation for the 68881 FPU by default.

    -m68332

      Generate code for the Motorola cpu32 family, of which the Motorola m68332 is a member.
gcc options for floating point for m68k
    -msoft-float
      Generate output containing library calls for floating point. The Motorola configurations of libgcc include a collection of subroutines to implement these library calls.

    -m68881

Floating point subroutines for m68k

The following two kinds of floating point subroutines are useful with GCC.

  • Software implementations of the basic functions (floating-point multiply, divide, add, subtract), for use when there is no hardware floating-point support.
  • General-purpose mathematical subroutines.

  • GNUPro Toolkit includes an implementation of the standard C mathematical subroutine library. See Mathematical functions (math.h) in GNUPro Math Library in GNUPro Libraries.

Top|Contents|Index|Previous|Next

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat