SW006012 Microchip Technology, SW006012 Datasheet - Page 39

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
3.1
3.2
3.3
© 2007 Microchip Technology Inc.
INTRODUCTION
HIGHLIGHTS
OVERVIEW
Chapter 3. Using MPLAB C30 C Compiler
This chapter discusses using the MPLAB C30 C compiler on the command line. For
information on using MPLAB C30 with MPLAB
Language Tools Getting Started” (DS70094).
Items discussed in this chapter are:
• Overview
• File Naming Conventions
• Options
• Environment Variables
• Predefined Constants
• Compiling a Single File on the Command Line
• Compiling Multiple Files on the Command Line
The compilation driver program (pic30-gcc) compiles, assembles and links C and
assembly language modules and library archives. Most of the compiler command-line
options are common to all implementations of the GCC toolset. A few are specific to
the MPLAB C30 compiler.
The basic form of the compiler command line is:
pic30-gcc [options] files
The available options are described in Section 3.5 “Options”.
For example, to compile, assemble and link the C source file hello.c, creating the
absolute executable hello.exe.
pic30-gcc -o hello.exe hello.c
Note:
Command line options and file name extensions are case-sensitive.
®
IDE, please refer to the “16-bit
USER’S GUIDE
MPLAB
DS51284F-page 33
®
C30

Related parts for SW006012