Re: [fpc-pascal] Assembler output

2015-09-12 Thread José Mejuto
El 12/09/2015 a las 14:10, Karoly Balogh (Charlie/SGR) escribió: There are two motivations, the first one is to learn how to do it manually, take a .pas, get the .s and assemble them (and link) to geta final executable. IIRC it was arguments: -a -st This won't assemble or link the executable, b

Re: [fpc-pascal] Assembler output

2015-09-12 Thread Karoly Balogh (Charlie/SGR)
Hi, On Fri, 11 Sep 2015, José Mejuto wrote: > There are two motivations, the first one is to learn how to do it manually, > take a .pas, get the .s and assemble them (and link) to geta final executable. IIRC it was arguments: -a -st This won't assemble or link the executable, but generate a scr

Re: [fpc-pascal] Assembler output

2015-09-11 Thread José Mejuto
El 11/09/2015 a las 21:18, Sven Barth escribió: What is the reason you're trying to do this? Maybe we can help you a bit more if we know your motivation to pursue this. Hello, There are two motivations, the first one is to learn how to do it manually, take a .pas, get the .s and assemble th

Re: [fpc-pascal] Assembler output

2015-09-11 Thread Sven Barth
Am 11.09.2015 19:06 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 compil

Re: [fpc-pascal] Assembler output

2015-09-11 Thread José Mejuto
El 11/09/2015 a las 20:18, Florian Klämpfl escribió: FPC dependents on a lot of tools like cross binutils which are not provided by FPC itself. So install nasm separately. Hello, Thank you, so the presence of nasm should make the compiler finish the compilation ? I was thinking that to gene

Re: [fpc-pascal] Assembler output

2015-09-11 Thread Florian Klämpfl
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 co

[fpc-pascal] Assembler output

2015-09-11 Thread 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, no