E.1. Mapping old compiler options to the new release

Table E.1 describes options used by ARM compilers in previous releases of RVCT. If you are upgrading from a previous release of RVCT, use Table E.1 to choose replacement options. If you are upgrading from ADS v1.2, use Table E.1 to identify those options that are no longer supported in the RVCT tools suite, and to find new names for these flags in the latest release.

Note

If you are upgrading to RVCT from a previous release, you must migrate your use of these options to the equivalent options in the latest release of the compiler.

All the options listed in Table E.1 are obsolete in the latest release of RVCT and no longer supported. However, in some cases, a warning message is displayed to describe the preferred option (see Warning messages in RVCT v2.2).

Table E.1. Mapping of compiler options

Old compiler optionEquivalent compiler optionUsage notes

-ansi

--c90

-

-ansic

--c90

-

-auto_float_constants

--fpmode std

-

-dll_vtbl

--export_all_vtbl

-

-Ec

--loose_implicit_cast

-

-fa

None

Data flow analysis feature on by default since RVCT v2.1

-fd

--sys_include

-

-fi

None

-

-fj

None

-

-fk

--kandr_include

-

-fp

None

-

-fs

--interleave

-

-fu

None

-

-fv

None

-

-fy

--enum_is_int

-

-fx

--remarks or --strict_warnings

-

-g-

--no_debug

-

-g+

-g or --debug

-

-gtp (or its synonym -gt-p)

--no_debug_macros

-

-gt+p

--debug_macros

-

-list

--list

Option name is the same but the behavior has changed

--no_inlinemax

--forceinline

-

-Oautoinline

--autoinline

-

-Odata_reorder

--data_reorder

-

-Oinline

--inline

-

-Oldrd, --Ono_ldrd

None

Selected automatically since RVCT v2.1

-Ono_autoinline

--no_autoinline

-

-Ono_data_reorder

--no_data_reorder

-

-Ono_inline

--no_inline

-

-Wletter

--diag_suppress tag

Use tag to identify the number of the warning message to suppress

-Eletter

None

-

-zasnumber

__align

-

-zat

--min_array_alignment or __align

-

-zc

--signed_chars

-

-zo

--split_sections

-
Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0205F
Non-Confidential