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
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
-- -
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.
https://wiki.freepascal.org/FPC_New_Features_2.6.2#Support_for_sp
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 - fpc-pascal@lists.freepa