[Lazarus] building lazarus from the command line...

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Apr 22 20:51:40 CEST 2012


On Thu, 19 Apr 2012 21:05:11 -0400
waldo kitty <wkitty42 at windstream.net> wrote:

> On 4/19/2012 19:12, Mattias Gaertner wrote:
> > On Thu, 19 Apr 2012 18:58:03 -0400
> > waldo kitty<wkitty42 at windstream.net>  wrote:
> >
> >> [...]
> >> here's the results... the files with _r36911 in them are built WITHOUT
> >> miscellaneousoptions.xml and the ones without the revision number are built WITH
> >> miscellaneousoptions.xml... all the following files ARE revision 36911...
> >>
> >> 04/19/2012  15:55          131,025,818 lazarus_r36911-clean_up_build_all.exe
> >> 04/19/2012  17:36          131,294,581 lazarus-clean_up_build_all.exe
> >>
> >> 04/19/2012  15:58          131,025,818 lazarus_r36911-normal.exe
> >> 04/19/2012  17:40          131,294,581 lazarus-normal.exe
> >>
> >> 04/19/2012  16:07          113,273,997 lazarus_r36911-debug.exe
> >> 04/19/2012  17:48           76,581,382 lazarus-debug.exe
> >>
> >> 04/19/2012  16:14           12,728,492 lazarus_r36911-optimized.exe
> >> 04/19/2012  17:52           13,444,780 lazarus-optimized.exe
> >
> > Check your logs and compare how fpc is called.
> > What difference do you see?
> 
> ok, from the diff via a search for
> 
> [TExternalToolList.Run] CmdLine="C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe
> 
> in each of the two logs...
> 
> C:\freepascal\updatelaz-without-miscellaneousoptions_xml.log (8 hits)

Which lazarus.exe is that?


>[...]
> WorkDir="C:\freepascal\laz\ideintf\"
> 	Line 1161: [TExternalToolList.Run] 
> CmdLine="C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe -B  -MObjFPC -Scghi -CR 
> -O1 -g -gl -vewnh -l -FuC:\freepascal\laz\ideintf\units\i386-win32\win32 
> -FuC:\freepascal\laz\lcl\units\i386-win32\win32 
> -FuC:\freepascal\laz\lcl\units\i386-win32 
> -FuC:\freepascal\laz\components\lazutils\lib\i386-win32 
> -FuC:\freepascal\laz\packager\units\i386-win32 
> -FuC:\freepascal\laz\components\synedit\ 
> -FUC:\freepascal\laz\components\synedit\units\i386-win32\win32\ -vm4055,5024 
> -dLCL -dLCLwin32 -gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa -CR -dgc 
> allsynedit.pas" WorkDir="C:\freepascal\laz\components\synedit\"

Where is the command to build lazarus.exe?

 
> C:\freepascal\updatelaz-with-miscellaneousoptions_xml.log (10 hits)

Which lazarus.exe is that?


>[...]
> WorkDir="C:\freepascal\laz\components\chmhelp\packages\idehelp\"
> 	Line 1201: [TExternalToolList.Run] 
> CmdLine="C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe -B  -MObjFPC -Scghi -CR 
> -O1 -g -gl -vewnh -l -FuC:\freepascal\laz\ideintf\units\i386-win32\win32 
> -FuC:\freepascal\laz\lcl\units\i386-win32\win32 
> -FuC:\freepascal\laz\lcl\units\i386-win32 
> -FuC:\freepascal\laz\components\lazutils\lib\i386-win32 
> -FuC:\freepascal\laz\packager\units\i386-win32 
> -FuC:\freepascal\laz\components\synedit\ 
> -FUC:\freepascal\laz\components\synedit\units\i386-win32\win32\ -vm4055,5024 
> -dLCL -dLCLwin32 -gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa -dDebug -dVerbose 
> -CR -dgc allsynedit.pas" WorkDir="C:\freepascal\laz\components\synedit\"
> 
> 
> i hope this is what you are looking for???

Compare the differences.

Mattias




More information about the Lazarus mailing list