Down Rodeo said:
There's a way to make gcc do it, can't remember how though.
code
gcc -c -g -Wa,-ahl=example.s example.c
That will compile example.c into assembler in example.s, plus comments and line numbers showing your original source code. Pretty neat.