getting unrecognized command line option for "-fcallgraph-info" flag

Asked by waleedziad

I am trying to compile my code with -fcallgraph-info=su flag but i am getting error :
arm-none-eabi-gcc: error: unrecognized command line option '-fcallgraph-info=su'
here is my command used :
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -g2 -Wall -O0 -fcallgraph-info=su -fstack-usage -c -DUSE_STDPERIPH_DRIVER -D__ASSEMBLY__ -DSTM32L100RCT6 -DSTM32L1XX_MDP + paths to src files
any one tried it before ?

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Andre Vieira
Solved:
Last query:
Last reply:
Revision history for this message
Best Andre Vieira (andre-simoesdiasvieira) said :
#1

Hi waleeziad,

I believe -fcallgraph-info is an Ada option, the ARM Embedded toolchain does not include the GNAT (GNU Ada compiler).

Cheers,
Andre

Revision history for this message
waleedziad (waleed94ziad) said :
#2

Thanks for replying