This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMCC: How to generate assembly

I'd like to generate assembly file for a corresponding .c file and I've tried the following which do not work.


Fullscreen
1
2
armcc.exe -c test.c -o test.o
fromelf.exe -c test.o -o test.s
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The above generates test.s but it does not have assembly code for any of the functions defined in the test.c file. I'm looking something similar to

Fullscreen
1
objdump -d test.o
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

Environment

  • Windows PC
  • ARM_Compiler_5.06u6

0