This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432 Assembly output when using GCC compiler



Hi all,

I'm working with a partner to investigate the performance of some code, and I've been asked to provide assembly output for him to assess.

My code is in a CCS project (v6.1.2) and I'm compiling with GCC 4.8.4.  (I used the example gcc project from here as a starting point).

How do I generate assembly output for my project?

A web search has suggested I compile using either the -S option or the -Wa,-adhln=assembly.s option.

I've tried adding these to the build using properties->CCS Build->GNU Compiler, then "Set Additional Flags". 

The -S option is not recognized at all.

The -Wa..... option only generates an assembly output file for my msp432_startup_ccs_gcc.c, but does not generate assembly of main.c, which is what I really want. 

Can anyone suggest how to generate an assembly output of main.c??

Cheers

Julian