Am 05.04.2011 09:38, schrieb Michael Schnell:
On 04/05/2011 02:21 AM, Skybuck Flying wrote:
So it would be cool if free pascal compiler could compile pascal
sources into redcode assembly, which can then be further compiled by
the PMARS executable/assembler.
AFAIK, other than gcc, FP is designed to drop the ASM source code step
of code generation and is intended to directly output a linkable binary.
An internal linker is optionally usable in some archs as well, making FP
directly output an executable

FPC does generate ASM. You can see it by adding the option "-al", if I remember correctly. There is just one difference: unlike GCC FPC contains an internal assembler for i386 (and maybe x86_64 as well). Other targets like arm need an external assembler binary.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to