-FWtempwindows.wpo
-CX
-XX
-Xs-
-OWDEVIRTCALLS
-OWOPTVMTS
-Fwtempwindows.wpo
-CX
-XX
-Xs-
-OwDEVIRTCALLS
-OwOPTVMTS
-Fwtempwindows.wpo
-CX
-XX
-OwDEVIRTCALLS
-OwOPTVMTS
-XX -CX -Xs
Hi Fred vS
The options are put in using, Project Option, Custom Option, AllOptions, then scrolling and enabling the relevent paramters to add
Looks like the Wiki Needs Checking/Changing.
Where I got my info from https://wiki.freepascal.org/Whole_Program_Optimization
for both FPC and Lazarus
I assume the fpc snippets are not correct also..
but surely stripping is required for Pass 2
I also have the project option/debugging Strip Symbols From Execs enabled in release builds, so I assume -Xs- turns this off in Pass 1 (makes sure symbols are NOT stripped), but to reduce the exe size in Pass 2 it needs to be -Xs (Strip Symbols).
Of course I could be totally wrong.. %)
-Xs (Strip Symbols).
Hi
I renamed my strip.exe to oldstrip.exe in \fpc\bin\i386-win32 and fpcbootstrap(using fpcupdeluxe) no other strip on machine and strip in cmd prompt says no file found so nothing in path , it still creates a small exe, so don't think strip is called.