[fpc-pascal] Assembler output

Florian Klämpfl florian at freepascal.org
Fri Sep 11 20:18:33 CEST 2015


Am 11.09.2015 um 19:05 schrieb José Mejuto:
> Hello,
> 
> Can anybody enlight me in how to:
> 
> - Compile a program outputting assembler in intel format.
> - Assemble the .s files in a final .exe
> 
> I can get assembler in AT&T format using "-a" but if I add "-Anasmwin32" the program is not compiled
> as "nasm is not found", only main.lpr is compiled, none of the included units (no RTL ones).
> 
> It would be great if I only need tools provided by fpc but I think that "as.exe" can not read Intel
> asm format.

FPC dependents on a lot of tools like cross binutils which are not provided by FPC itself. So
install nasm separately.




More information about the fpc-pascal mailing list