Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: Job Van Dam on January 12, 2008, 12:11:10 PM

Title: Is there an easy way to convert a .rock file into a .c file?
Post by: Job Van Dam on January 12, 2008, 12:11:10 PM
Is there an easy way to convert a .rock file into a .c file?

I wrote my own plugin but it needs updating and I'm an idiot so I may have deleted the source. It's the smallest plugin ever but because of my unfamilarity with Rockbox it's going to take a few days to do it and if possible I'd like to avoid that.

Thank you.



Title: Re: Is there an easy way to convert a .rock file into a .c file?
Post by: gnu on January 12, 2008, 12:46:00 PM
No, you can't convert a .rock file to a .c file, since the .c file got translated into machine code by the compiler. Therefore, you could only convert your .rock file into assembler code, which would be quite useless.