On Tue, 20 Mar 2012 17:18:20 -0400 waldo kitty <[email protected]> wrote:
> On 3/19/2012 23:50, waldo kitty wrote: > > echo compiling lazarus... > > cd %myLAZpath% > > echo * Debug IDE > > make clean lazbuild > > lazbuild.exe --build-ide="-gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa" > > build-mode="debug ide" > > copy /q lazarus.exe lazarus-debug.exe > > echo * Normal IDE > > make clean lazbuild > > lazbuild.exe --build-ide= build-mode="normal ide" > > copy /q lazarus.exe lazarus-normal.exe > > echo * Optimized IDE > > make clean lazbuild > > lazbuild --build-ide="-O2 -g- -Xs" build-mode="optimized ide" > > copy /q lazarus.exe lazarus-optimized.exe > > echo lazarus compilation complete... > > > yeah, this still needs work on my part because > 1) it is recompiling lazbuild every time which should not be necessary You only need to build lazbuild once. > 2) i don't need to pass those parameters in --build-ide because they are > already in the --build-mode profile Yes. > 3) command line error with --build-mode - requires leading dashes > > so, i'm down to this > > echo > ******************************************************************************* > echo * Debug IDE > echo > ******************************************************************************* > lazbuild.exe --build-ide= --build-mode="debug ide" > copy lazarus.exe lazarus-debug.exe > > > and i'm getting this... > > [...] > make.exe[1]: Leaving directory `C:/freepascal/laz/ideintf' > "Clean Lazarus Source" completed > [TExternalToolList.Run] CmdLine="C:\freepascal\binutils\i386-win32\make.exe > ide > -w" WorkDir="C:\freepascal\laz\" > C:\freepascal\binutils\i386-win32\make.exe: Entering directory > `C:/freepascal/laz' > C:/freepascal/binutils/i386-win32/make.exe -C ide ide > make.exe[1]: Entering directory `C:/freepascal/laz/ide' > ../tools/svn2revisioninc.exe .. revision.inc > Created C:\freepascal\laz\ide\revision.inc for revision: 36180 > C:/freepascal/binutils/i386-win32/make.exe --assume-new=lazarus.pp > lazarus.exe > OPT=' -WG -gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa -dDebug -dVerbose > @C:\DOCUME~1\e3br42x1\LOCALS~1\APPLIC~1\lazarus\idemake.cfg' > make.exe[2]: Entering directory `C:/freepascal/laz/ide' > C:/freepascal/fpc/2.4.5/bin/i386-win32/fpc.exe -gl -dlclwin32 > -Fu../lcl/units/i386-win32 -Fu../lcl/units/i386-win32/win32 > -Fu../components/codetools/units/i386-win32 > -Fu../components/lazutils/lib/i386-win32 > -Fu../components/synedit/units/i386-win32/win32 > -Fu../components/lazcontrols/lib/i386-win32/win32 -Fu../components/custom > -Fu../ideintf/units/i386-win32/win32 -Fu../designer -Fu../debugger > -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames > -Fu../packager/units/i386-win32 -Fu../units/i386-win32/win32 -Fuframes -Fu. > -Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../units/i386-win32/win32 > -WG > -gw -gl -godwarfsets -gh -gt -Co -Cr -Ci -Sa -dDebug -dVerbose > @C:\DOCUME~1\e3br42x1\LOCALS~1\APPLIC~1\lazarus\idemake.cfg -di386 lazarus.pp > Compiling Debug Version > Free Pascal Compiler version 2.4.5 [2011/06/01] for i386 > Copyright (c) 1993-2010 by Florian Klaempfl > Target OS: Win32 for i386 > Compiling lazarus.pp > Fatal: Can't find unit Interfaces used by Lazarus > TExternalToolList.Run Exception: C:\freepascal\laz\ide\lazarus.pp(1,1) Fatal: > Can't find unit Interfaces used by Lazarus > ERROR: tool reported error > > > "make clean" has been executed numerous times during this testing... my > script > does a "make clean" before "svn up" but it is still done several times > more... > so why is it not locating the Interfaces unit?? Maybe some installed package. Compile with -vut to find out. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
