Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know why you're using objdump instead of -S to have gcc generate assembly directly.

You get named constants and named labels that way, and you can even choose the sane Intel syntax with -masm=intel which you can also do with objdump.



I like -Wa,-adhlns=foo.lst -g to see the C, asm, and machine code all together.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: