title: How to generate a nasm compilable assembly code from c source code on Linux?
body: <p>Test platform is 32 bit Linux.</p>
  
  <p>Basically, I know gcc can be used to generate both Intel and At&amp;T style 
  assembly code, but it seems that you <strong><em>can not</em></strong> directly use nasm/tasm to compile 
  the Intel style assembly code gcc generated.</p>
  
  <p>I am conducting a project analysis asm code on both windows and Linux platform, so I am thinking if they can be both compiled by platform independent assembler like nasm\yasm, I could have a much easier time...</p>
  
  <p>So my question is how to generate a nasm compilable assembly code from c source code on Linux?</p>