On 22/3/22 11:09, Karoly Balogh via fpc-pascal wrote:
No, it isn't. -O parameters will _enable_ certain optimizations.
This means, -O3 -O1 will not switch the compiler "back" to -O1, just stay
at -O3, because at -O3 level, all -O1 optimizations are already enabled,
there is nothing to enable.
-O
On 22/3/22 9:51, Mattias Gaertner via fpc-pascal wrote:
Is this paranoid or useful?
-O- -O1
Good point. My script have many years and I don't remember why I used
this options or if I gathered them from someone else, but reviewing it
now, it does not seems logical. I suppose -O1 overwrite -O-,
Hi,
Thank you very much to everyone for the quick answers.
If I specify the option PP=.../fpclazarus/fpc/lib/3.2.2/ppcx64 to the
command "make -j 9 clean all", the it works as expected. Probably until
now, it worked just by pure lucky.
But just to make sure my script to build FPC is safer, i
Hi,
For years I have been using the same script to compile FPC, I have
multiple version of FPC installed in the same machine, mainly my script do:
make -j 9 clean all
make -j 9 all install FPMAKEOPT="-T 9"
INSTALL_PREFIX=.../fpclazarus/fpc/cmp/3.3.1 OPT="-O- -O1 -gl"
PP=.../fpclazarus/fpc/l
On 29/4/20 20:01, Sven Barth via fpc-pascal wrote:
Jonas Maebe mailto:jo...@freepascal.org>>
schrieb am Mi., 29. Apr. 2020, 19:50:
So simply split it:
make -j 9 clean
make -j 9 all install
Also you should specify FPMAKEOPT="-T 9" in addition to -j.
Regards,
Sven
Ok, thank yo
Hi,
For years I have been using the same script to compile FPC, in this
script I use the next command:
make -j 9 clean all install
After the revision 44849 the use of the jobs option does not work
anymore, it fails to compile, reviewing the changes in revision 44849
shows that was removed t