Datasheet

Migrating Projects from SDT to ADS
4-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0064D
In ADS,
-zz0
,
-zt
, -
zzt0
, and
-zz-1
are faulted. Remove these options from your
compiler command line..
This change might affect linking if you are using a scatter-load description file. See
Linking on page 4-8 for more information.
-fc
In the SDT 2.11a, and earlier toolkits, the
-fc
option enabled limited pcc support. This
is redundant in SDT 2.50 and SDT 2.51. Using
-fc
:
allowed dollar characters (
$
) in identifiers
suppressed warnings on explicit casts between function and object pointers
allowed junk at the end of preprocessor directive lines.
The first two of these are the default in SDT 2.50, SDT 2.51, and ADS, unless
-strict
is used. To allow junk at the end of preprocessor directives, use the
-Ep
option instead.
For backward compatibility with old projects, the
-fc
option is not faulted in SDT 2.50
and SDT 2.51, but it has no effect over the normal defaults and is not documented.
The ADS compilers fault
-fc
. Remove it from your compiler command line.
Include paths
It is recommended that you use the CodeWarrior IDE Access Paths tab, not the
Equivalent Command Line field, to specify compiler include paths (such as
'-I.\include')
in a CodeWarrior IDE project.
For example,
'-I..\include'
is the same as the project relative path
'{Project}..\include'
.
Note
It is recommended that you do not use recursive path searching. See the CodeWarrior
IDE Guide for details.
You can use
-I
in the Equivalent Command Line field if you must follow Berkeley
search rules (the default compiler command-line behavior) or K&R search rules,
instead of the CodeWarrior IDE behavior. However, CodeWarrior Browser information
and Error processing is unlikely to work correctly because the
-I
option does not update
the CodeWarrior IDE internal path information. The CodeWarrior IDE cannot find files
that the compilers input from paths specified with
-I
. The Access Paths tab also enables
you to move a project without moving its source files.