SDKZSPF LSI, SDKZSPF Datasheet - Page 55

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
Chapter 3
C Cross Compiler
This chapter describes the SDK C Cross Compiler and the compilation
process.
The SDK C Cross Compilers—sdcc, zdcc, and zdxcc—are based on the
GNU C compiler (gcc) from the Free Software Foundation. sdcc is the
compiler for the ZSP400 architecture. zdcc is the compiler for the ZSPG2
architecture. zdxcc is targeted for the ZSPG2 architecture, but it uses the
same calling convention and pointer size as sdcc. This allows
C/assembly programs written for the ZSP400 architecture to be easily
ported to the ZSPG2 architecture. CC is used to refer to all three
compilers. gcc is described in Using and Porting GNU CC, by Richard
M. Stallman, Free Software Foundation, June 1996. The description of
CC in this chapter, for the most part, includes only the differences from
gcc.
The compiler is invoked from the shell using the following command:
cc [options] sourcefile
The command-line options and source file name extension determine the
type of compilation. In the simplest case, with no options and a .c source
file, the compiler produces an executable, a.out.
ZSP Software Development Kit User’s Guide
3-1
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.