A.2.1. Mapping ADS 1.2 compiler options to the new release

Table A.2 describes options used by the ARM compiler in ADS 1.2 and the equivalent compiler options in the current release of RVCT. All the old compiler options listed in Table A.2 are obsolete in the latest release of RVCT and no longer supported.

If you are upgrading from ADS 1.2, use Table A.2 and Table A.3 to identify options that are no longer supported in the RVCT compiler, and to find new names for these flags in the latest release. You must migrate any use of old compiler options to the equivalent options in the latest release of the compiler.

Table A.2.  Mapping of ADS 1.2 compiler options

ADS compiler optionEquivalent RVCT compiler optionUsage notes

-ansi

--c90

-

-ansic

--c90

-

-apcs

--apcs

-

-apcs /[no]swstackcheck

NoneSoftware stack checking is obsolete in RVCT 3.0.

-asm

--asm

-

-asm -fs

--asm --interleave

-

-auto_float_constants

--fpmode=std

--fpmode=std is the default.

-bigend

--bigend

-

-cpu name

--cpu=name

-

-cpp

--cpp

-

-depend filename

--depend=filename

-

-dll_vtbl

--export_all_vtbl

-

-dwarf2

--dwarf2

-

-Ec

--loose_implicit_cast

-

-embeddedcplusplus

None-

-fa

None

Data flow analysis feature on by default since RVCT 2.1.

-fd

--sys_include

-

-fh

None

-

-fi

None

-

-fj

None

-

-fk

--kandr_include

-

-fp

None

-

-fpu name

--fpu=name

-

-fs

--interleave

-

-fu

None

-

-fv

None

-

-fx

--remarks or --strict_warnings

-

-fy

--enum_is_int

-

-g-

--no_debug

-

-g

-g+

--debug

-

-gtp

-gt-p

--no_debug_macros

-

-gt+p

--debug_macros

-

-jdir_list

-Jdir_list

-

-list

--list --no_depend_system_headers

Option behavior has changed.

-list -fi -fj

--list --depend_system_headers

Option behavior has changed.

-littleend

--littleend

-

-MD

--md

-

-memaccess

--no_unaligned_access

-

--no_inlinemax

--forceinline

-

-O[no_]autoinline

--[no_]autoinline

-

-Odata_reorder

--data_reorder

-

-O[no]inline

--[no_]inline

-

-O[no_]ldrd

None

Selected automatically since RVCT 2.1 based on selected CPU or architecture variant.

-Ono_autoinline

--no_autoinline

-

-Ono_data_reorder

--no_data_reorder

-

-Ono_inline

--no_inline

-

-S -fs

-S --interleave

-

-split_ldm

--split_ldm

-

-strict

--strict

-

--unix_depend_format

--depend_format=unix

-

-Wletter

--diag_suppress=tag

Use tag to identify the number of the warning message to suppress. See Table A.3.

-zasnumber

__align keyword

-

-zat

--min_array_alignment or __align keyword

-

-zc

--signed_chars

-

-zo

--split_sections

-

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0205H
Non-Confidential