代码之家  ›  专栏  ›  技术社区  ›  Stijn Sanders

是否有dcc32.exe命令行开关使其使用/create.dcu文件?

  •  3
  • Stijn Sanders  · 技术社区  · 15 年前

    当从脚本编译一个调用dcc32.exe的delphi项目时,不会生成.dcu文件。

    (我看到 similar question for the Delphi 6 compiler , but I haven't been able to find this for newer versions of Delphi)

    3 回复  |  直到 13 年前
        1
  •  6
  •   Thomas Ahle    15 年前

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

        2
  •  2
  •   Marjan Venema    15 年前

    The commandline switch to specify where dcu's should go is the -N0 (letter N, digit zero) switch. If you don't specify this however, the dcu's should still be generated, but end up in the same directory(ies) as the pas file(s) from which they were generated.

        3
  •  2
  •   user1444558    13 年前

    对于一些旧程序,我们仍然使用Borland C++ Builder 5。I had the task to make some Delphi projects buildable on the CmdLine. Therefore I had to change the generated make files of bpr2mak.

    从Marjan Venema的提示开始,我发现:

    • 选项 -N<path> -N0<path> 定义的输出路径 DCU 文件夹
    • 选项 -N1<path> 定义的输出路径 羟丙基甲基纤维素 文件夹
    • 选项 -N2<path> 定义的输出路径 OBJ 文件夹