Compiler flags question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Compiler flags question

925件の閲覧回数
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 返信

752件の閲覧回数
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 件の賞賛
返信