Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2015-12

build process of official releases (3.0 / win)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

Someone pointed out that the official build and the 3.0 included in lazarus differ.
http://forum.lazarus.freepascal.org/index.php/topic,30663.msg195462.html#msg195462 http://forum.lazarus.freepascal.org/index.php/topic,30663.msg195577.html#msg195577

Of course this can easily be caused by different OPT= specified. Not sure what else may have an impact.

Starting compiler? Afaik should not, that is why there are 3 cycles?

Looking at the Lazarus build it seems that the compiler is build with no OPT some units are rebuild with smart-linking.

Show quoted text 13 lines
%MAKEEXE% clean PP=%RELEASE_PPC% >> %LOGFILE% 2>&1 %MAKEEXE% compiler_cycle PP=%RELEASE_PPC% >> %LOGFILE% 2>&1 FOR /F %%L IN ('%SOURCE_DIR%\compiler\utils\fpc.exe -PB') DO SET COMPILER=%SOURCE_DIR%\compiler\%%L FOR /F %%L IN ('%COMPILER% -iV') DO SET FPCVERSION=%%L FOR /F %%L IN ('%COMPILER% -iW') DO SET FPCFULLVERSION=%%L %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 >> %LOGFILE%

What options are specified for the release by fpc?

Reply by email

Jonas Maebe
to Martin
Martin wrote
What options are specified for the release by fpc?

None. The top level Makefile automatically adds RELEASE=1, which enables a default set of options built into all Makefiles.

Jonas

Reply by email