To use the command-line compiler

Top  Previous  Next

As a command-line compiler, EurekaLog provides the ecc32.exe program for Delphi and emake.exe program for C++Builder: you can find them in the same directory as the dcc32.exe/make.exe compiler.

 

This new compiler integrates the standard dcc32.exe/make.exe features plus new EurekaLog features, so now you can use just the new ecc32.exe/emake.exe command-line compiler instead of the standard dcc32.exe/make.exe compiler.

 

Using the new command-line compiler, you can compile your projects just like when you use the standard compiler, adding to your projects new EurekaLog features.

 

 

EurekaLog command line compiler add the following new options:

 

"--el_config", use it to compile your project with a different EurekaLog option file;

       Example: --el_config"new_eurekalog_optionfile"

 

"--el_alter_exe", use it not to compile your project but only to add the EurekaLog debug info into a  just compiled project (you can optionally specify the compiled file full output);

       Delphi example: --el_alter_exe"ProjectFile.dpr[;ProjectFile.exe]"

       C++Builder example: --el_alter_exe"MakeFile.mak" or --el_alter_exe"ProjectFile.bpr[;ProjectFile.exe]"

 

 

Don't use the standard command-line compiler anymore: use only the new EurekaLog command-line compiler.

 

 

Examples:

 

ecc32.exe "ProjectFile.dpr" // Delphi command-line compiler

 

emake.exe -B -f"MakeFile.mak" // C++Builder command-line compiler

 

 

Note: the emake.exe command-line compiler did not support ".bpr" files (supported only ".mak" file). To generate the ".mak" file from the ".bpr" you can use the bpr2mak.exe command-line program.