Compiler flags question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiler flags question

744 Views
giacomopetrini
Contributor IV

Hello all,

 

I'm playign aroung with compiler flags (using KDS 2.0.0)  to see how this impacts on code size/performances/etc.

 

One question (I'm using C++):

- what is ABI version? What setting should I use? It is safe to go to the maximum (7) or is best to keep the toolchain default (2) or set for the most conforming (0) ?

 

Regards Giacomo

 

A note for developers: if I set the optimization level to -O3 there are error at runtime, more specifically the "assert(irq & SDHC_HAL_CMD_ALL_INT);" in SDHC_DRV_CmdIrq() (fsl_sdhc_driver.c, KSDK 1.1).

Labels (1)
0 Kudos
1 Reply

571 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

hi giacomopertrini,

Freescale has document

{KDS_2.0.0 install}\doc\pdf\gcc\gcc\gcc.pdf document related information.

see chapter 9:

2015-02-09_16-44-56.png

the different ABI version description is listed here:

2015-02-09_16-47-20.png

can this help?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos