SDCC Manual
next up previous contents index
 

3.2.1 Processor Selection Options

  • [-mmcs51] Generate code for the Intel MCS51 family of processors. This is the default processor target.
  • [-mds390] Generate code for the Dallas DS80C390 processor.
  • [-mds400] Generate code for the Dallas DS80C400 processor.
  • [-mhc08] Generate code for the Freescale/Motorola HC08 family of processors.
  • [-mz80] Generate code for the Zilog Z80 family of processors.
  • [-mgbz80] Generate code for the GameBoy Z80 processor (Not actively maintained).
  • [-mavr] Generate code for the Atmel AVR processor (Not maintained, not complete). AVR users should have a look at winavr http://sourceforge.net/projects/winavr or http://www.avrfreaks.net/index.php?name=PNphpBB2&file=index, which is based on the gcc compiler.

  • [-mpic14] Generate code for the Microchip PIC 14-bit processors (p16f84 and variants. In development, not complete).

  • [-mpic16] Generate code for the Microchip PIC 16-bit processors (p18f452 and variants. In development, not complete).
  • [-mtlcs900h] Generate code for the Toshiba TLCS-900H processor (Not maintained, not complete).
  • [-mxa51] Generate code for the Phillips XA51 processor (Not maintained, not complete).
SDCC inspects the program name it was called with so the processor family can also be selected by renaming the sdcc binary (to f.e. z80-sdcc) or by calling SDCC from a suitable link. Option -m has higher priority than setting from program name.



next up previous contents index
Next: 3.2.2 Preprocessor Options Up: 3.2 Command Line Options Previous: 3.2 Command Line Options   Contents   Index
2009-10-11