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

waldo kitty wkitty42 at windstream.net
Mon Apr 23 02:01:10 CEST 2012


On 4/22/2012 14:51, Mattias Gaertner wrote:
> 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  16:07          113,273,997 lazarus_r36911-debug.exe
>>>> 04/19/2012  17:48           76,581,382 lazarus-debug.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?

both reports are from the building of "debug ide" via lazbuild...

>> [...]
>> 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?

here's the first few lines of output from the 
without-miscellaneousoptions_xml.log which is where the above come from...

***************************************************************************
***************************************************************************
*  TASK: Debug IDE
*  CMND: lazbuild.exe --build-ide= --build-mode="debug ide"
*
primary config path: C:\Documents and Settings\e3br42x1\Local 
Settings\Application Data\lazarus
Building Lazarus IDE with profile "Debug IDE"
TBuildManager.SetBuildTargetIDE OS=win32 CPU=i386 WS=win32
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Compiler params changed for 
FCL 1.0.1
   Old=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -l 
-FuC:\freepascal\laz\packager\registration\ 
-FUC:\freepascal\laz\packager\units\i386-win32\ fcllaz.pas"
   Now=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -l 
-FuC:\freepascal\laz\packager\registration\ 
-FUC:\freepascal\laz\packager\units\i386-win32\ -gw -gl -godwarfsets -gh -gt -Co 
-Cr -Ci -Sa fcllaz.pas"
   State file="C:\freepascal\laz\packager\units\i386-win32\FCL.compiled"
[TExternalToolList.Run] CmdLine="C:\freepascal\fpc\2.4.5\bin\i386-win32\fpc.exe 
-B  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l 
-FuC:\freepascal\laz\packager\registration\ 
-FUC:\freepascal\laz\packager\units\i386-win32\ -gw -gl -godwarfsets -gh -gt -Co 
-Cr -Ci -Sa fcllaz.pas" WorkDir="C:\freepascal\laz\packager\registration\"


>> C:\freepascal\updatelaz-with-miscellaneousoptions_xml.log (10 hits)
>
> Which lazarus.exe is that?

same as above... "debug ide" because that's the one with the large size 
differences which i cannot understand...



>> [...]
>> 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.

the only differences i see are "-dDEBUG -dVERBOSE"... these are selected in the 
miscellaneousoptions_xml but i still don't see how these can influence... 
especially since the one WITH "-dDEBUG -dVERBOSE" is the /smaller/ one...

TBH, i actually expect that the "debug ide" would have at least "-dDEBUG" as 
default since it is a debug version and it would seem that one would want all 
the debug capability they can get... "-dVERBOSE" seems to indicates more 
messages which are also important in debugging so i would expect it, too, to be 
included... maybe i'm missing something??





More information about the Lazarus mailing list