283x Filetype PDF File size 3.16 MB Source: www.analog.com
W5.0
C/C++ Compiler and Library Manual
®
for TigerSHARC Processors
Revision 4.1, August 2008
Part Number
82-000336-03
Analog Devices, Inc.
One Technology Way a
Norwood, Mass. 02062-9106
Copyright Information
© 2008 Analog Devices, Inc., ALL RIGHTS RESERVED. This document
may not be reproduced in any form without prior, express written consent
from Analog Devices, Inc.
Printed in the USA.
Disclaimer
Analog Devices, Inc. reserves the right to change this product without
prior notice. Information furnished by Analog Devices is believed to be
accurate and reliable. However, no responsibility is assumed by Analog
Devices for its use; nor for any infringement of patents or other rights of
third parties which may result from its use. No license is granted by impli-
cation or otherwise under the patent rights of Analog Devices, Inc.
Trademark and Service Mark Notice
The Analog Devices logo, icon bar and logo, the CROSSCORE logo,
VisualDSP++, SHARC, TigerSHARC, and EZ-KIT Lite are registered
trademarks of Analog Devices, Inc.
All other brand and product names are trademarks or service marks of
their respective owners.
CONTENTS
PREFACE
Purpose of This Manual ............................................................. xxxix
Intended Audience ..................................................................... xxxix
Manual Contents Description ......................................................... xl
What’s New in This Manual ............................................................ xl
Technical or Customer Support ....................................................... xl
Supported Processors ...................................................................... xli
Product Information ...................................................................... xli
Analog Devices Web Site .......................................................... xli
VisualDSP++ Online Documentation ...................................... xlii
Technical Library CD ............................................................. xliii
Notation Conventions ................................................................... xliv
COMPILER
C/C++ Compiler Overview ........................................................... 1-3
Compiler Command-Line Interface ............................................... 1-5
Running the Compiler ............................................................. 1-6
Compiler Command-Line Switches ........................................ 1-10
VisualDSP++ 5.0 C/C++ Compiler and Library Manual iii
for TigerSHARC Processors
CONTENTS
C/C++ Compiler Switch Summaries .................................. 1-10
C/C++ Mode Selection Switch Descriptions ...................... 1-22
-c89 ............................................................................. 1-22
-c++ ............................................................................. 1-22
C/C++ Compiler Common Switch Descriptions ................ 1-23
sourcefile ...................................................................... 1-23
-@ filename .................................................................. 1-23
-A name [()] .................................................... 1-23
-add-debug-libpaths ...................................................... 1-24
-align-branch-lines ........................................................ 1-25
-allow-macs-to-extend-saturation .................................. 1-25
-alttok .......................................................................... 1-25
-always-inline ............................................................... 1-26
-annotate ...................................................................... 1-26
-annotate-loop-instr ...................................................... 1-27
-auto-attrs .................................................................... 1-27
-bss .............................................................................. 1-27
-build-lib ...................................................................... 1-27
-C ................................................................................ 1-27
-c ................................................................................. 1-28
-char-size-any ............................................................... 1-28
-char-size-{8|32} ........................................................... 1-28
-const-read-write .......................................................... 1-29
-const-strings ................................................................ 1-29
iv VisualDSP++ 5.0 C/C++ Compiler and Library Manual
for TigerSHARC Processors
no reviews yet
Please Login to review.