Author Topic: CHDK dev: Generate intermediate ARM assembly?  (Read 1046 times)

Offline toinech

  • Jr. Member
  • **
  • Posts: 97
CHDK dev: Generate intermediate ARM assembly?
« on: 08 / May / 2008, 07:48:42 »
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: 08 / May / 2008, 07:50:13 by toinech »

Offline GrAnd

  • Developers
  • Hero Member
  • ****
  • Posts: 916
  • [A610, S3IS]
    • CHDK
Re: CHDK dev: Generate intermediate ARM assembly?
« Reply #1 on: 08 / May / 2008, 11: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.

Offline toinech

  • Jr. Member
  • **
  • Posts: 97
Re: CHDK dev: Generate intermediate ARM assembly?
« Reply #2 on: 09 / May / 2008, 08:27:38 »
Thanks GrAnd

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal