[fpc-devel] make OPT= OPTFPC= NEWOPT=

Martin Frb lazarus at mfriebe.de
Fri Oct 6 14:28:34 CEST 2023


What is the difference between those 3?

I came across OPTNEW here https://wiki.freepascal.org/LLVM

But now I am trying to play with the rather old fpc build script for the 
laz installer.
And it calls

%MAKEEXE% compiler_cycle PP=%RELEASE_PPC% >> %LOGFILE% 2>&1
%MAKEEXE% rtl_clean  PP=%COMPILER% >> %LOGFILE%
%MAKEEXE% rtl packages  PP=%COMPILER% OPT="-Ur -CX" >> %LOGFILE%
%MAKEEXE% utils  PP=%COMPILER% OPT="-CX -XX -Xs" 
DATA2INC=%SOURCE_DIR%\utils\data2inc >>
...

And giving it just OPT=.... does not seem to do the trick.


Oh, yes of course, ideally rewrite that old script... Well "someday" ....


More information about the fpc-devel mailing list