At compile time (from [[http://mail-index.netbsd.org/tech-kern/2001/03/20/0024.html|here]]) $ gcc -g -Wa,"-ahl=mixed.lst" source_file.c After compile time: $ gcc -c -g -O2 source_file.c -o da.o $ objdump -S da.o