Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a DCC32.exe command line switch to make it use/create .dcu files?

When compiling a Delphi project calling DCC32.EXE from a script, no .dcu files are generated.

Is there a command-line switch (or .cfg setting) to make the compiler create dcu's? Will the compiler then also check the .pas file and re-create the .dcu if the source has changed?

(I've seen there's a similar question for the Delphi 6 compiler, but I haven't been able to find this for newer versions of Delphi)

like image 661
Stijn Sanders Avatar asked Oct 24 '25 04:10

Stijn Sanders


1 Answers

-m (make) or -b (build) will tell the compiler to flush .dcu files to disk. Without either of those switches, the compiler will only compile .dcus into memory.

like image 154
Allen Bauer Avatar answered Oct 26 '25 07:10

Allen Bauer