Compiler flags question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Compiler flags question

1,285 次查看
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).

标签 (1)
0 项奖励
回复
1 回复

1,112 次查看
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 项奖励
回复