CHDK dev: Generate intermediate ARM assembly? - General Discussion and Assistance - CHDK Forum

CHDK dev: Generate intermediate ARM assembly?

  • 2 Replies
  • 4950 Views
CHDK dev: Generate intermediate ARM assembly?
« on: 07 / May / 2008, 22:48:42 »
Advertisements
How do I get to generate the ARM assembly? - Just to find out if it is worth while doing the inline assembly or leaving the job to the compiler optimizer.
« Last Edit: 07 / May / 2008, 22:50:13 by toinech »

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: CHDK dev: Generate intermediate ARM assembly?
« Reply #1 on: 08 / May / 2008, 02:19:01 »
After full compilation of CHDK you can find full disassembly in 'core/main.dump' file.
If you wish to get asm of a particular .c file look at the '-S' switch of gcc compiler. (You will have to use arm-gcc of course and have to add some compiler switches manually as well to eliminate compile errors)
CHDK Developer.

Re: CHDK dev: Generate intermediate ARM assembly?
« Reply #2 on: 08 / May / 2008, 23:27:38 »
Thanks GrAnd

 

Related Topics


SimplePortal © 2008-2014, SimplePortal