tags:

views:

136

answers:

3

I'm reading a tutorial on building compilers.In the tutorial the compiler produces assembly 80X86 and I want to know if the programs made by this compiler would run in a Intel Celeron Linux.If not what kind of assembly the compiler should produce there?

+3  A: 

It is hard to make sense of your question. If you are asking how to compile assembly code in Linux, http://asm.sourceforge.net/ seems to provide some information.

As for assemblers, there is GAS and NASM.

Sinan Ünür
+1  A: 

Celeron is x86. gcc will assemble things for you. (the -S option, I believe.)

Huw
+1  A: 

Yep, simply use nasm. Works perfectly here. Good luck.