|
Note: this article is part of explaining compilation outside of IDE.
EurekaLog provides a command-line compiler which performs post-processing: ecc32.exe - which works for Delphi/C++ Builder/RAD Studio. This file is located in the same directory as EurekaLog packages. I.e. like 'C:\Program Files (x86)\Neos Eureka S.r.l\EurekaLog 7\Packages\Studio16\ecc32.exe' (this is just example).
Note: the ecc32speed.exe is also provided. ecc32speed.exe is the same as ecc32.exe, except it does not contain debugging code, which allows it to execute slightly faster. EurekaLog uses ecc32speed.exe by default (from IDE). If debug output / verbose options are enabled, then EurekaLog will use ecc32.exe. There is no difference in calling ecc32.exe and ecc32speed.exe.
Important Note: usually, you call ecc32.exe/ecc32speed.exe from [EurekaLog installation folder]\Packages\[IDE name]\ folder. That way ecc32.exe/ecc32speed.exe will know which IDE you are using. However, if you are calling ecc32.exe/ecc32speed.exe from \bin folder of EurekaLog, or if you copy ecc32.exe/ecc32speed.exe to another folder - then it will NOT know which IDE you are using. You have to supply --el_ide command line switch to indicate what IDE should be used.
The ecc32 compiler integrates the standard dcc32.exe features plus the EurekaLog features, so you can now just use the new ecc32.exe command-line compiler instead of the standard dcc32.exe compiler. By using the EurekaLog command-line compiler - you can now compile your projects just like when you used the standard compiler, now adding to your projects the new EurekaLog features.
When the ecc32.exe/ecc32speed.exe is called - it will compile your project and then add the EurekaLog settings and debug information to the application. Any parameters you pass to ecc32.exe are passed onto dcc32.exe as in a normal compilation. The EurekaLog options are taken from the standard project options file.
So the ecc32.exe/ecc32speed.exe can be used just like dcc32.exe and you can find plenty of information on these standard parameters in the Delphi help file. There is a minimal standard options which have to be set for EurekaLog to function properly.
Additionally to standard parameters, ecc32.exe/ecc32speed.exe supports custom EurekaLog parameters for customizing post-processing.
Important Note: the ecc32.exe command-line compiler doesn't support compiling projects from ".bpr"/".bdsproj"/".cbproj" files. You need to compile your C++ Builder project first, and then call ecc32 to post-process the compiled file. See also: post-processing without compilation.
See also:
| ||||||||