Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Diablokiller999 on November 26, 2012, 11:23:54 am

Title: Auto create .asm-Files via objdump
Post by: Diablokiller999 on November 26, 2012, 11:23:54 am
Hey guys!
I want to create automatically some asm-files out of my C-Project.
First I tried

Code
$compiler -S $file -masm=intel  -Wa,-ahl=$file.asm

$compiler $options $includes -c $file -o $object

in the "use custom command..."-Option.

But I'm missing some comments, it's hard to see what call belongs to a special function.
I've read that objdump can help me out, but I'm trying for several hours to implement it to "post build scripts".
Any Idea how this could work?