Re: [fpc-pascal] "Hello world" syscalls

2020-01-06 Thread Michael Van Canneyt
On Tue, 7 Jan 2020, Vojtěch Čihák via fpc-pascal wrote: Hi,   I found this article: https://drewdevault.com/2020/01/04/Slow.html but FPC is missing, so I wrote simple:   program Project1; begin   writeln('Hello world!'); end.    $ fpc -O3 -XX Project1.pas   $ strace -C ./Project1   % time     

[fpc-pascal] "Hello world" syscalls

2020-01-06 Thread Vojtěch Čihák via fpc-pascal
Hi,   I found this article: https://drewdevault.com/2020/01/04/Slow.html but FPC is missing, so I wrote simple:   program Project1; begin   writeln('Hello world!'); end.    $ fpc -O3 -XX Project1.pas   $ strace -C ./Project1   % time     seconds  usecs/call     calls    errors syscall --

Re: [fpc-pascal] -WP compiler macro?

2020-01-06 Thread Jonas Maebe
On 06/01/2020 18:13, Ryan Joseph via fpc-pascal wrote: > Is there a compiler macro which is set to the value of -WP? It would be > useful to know which SDK I'm targeted while compiling so I can omit certain > code at compile time.

[fpc-pascal] -WP compiler macro?

2020-01-06 Thread Ryan Joseph via fpc-pascal
Is there a compiler macro which is set to the value of -WP? It would be useful to know which SDK I'm targeted while compiling so I can omit certain code at compile time. Regards, Ryan Joseph ___ fpc-pascal maillist -