Delphi 6 command line compilation: no DCU

When using dcc32 for the .dpr file, it creates a dll, but not dcus.

At the project level .cfg, the -N switch is used to set the path, but nothing is specified in the specified directory. It should see .cfg when the -E switch works.

I tried to use brcc32 / brc32 against the .dpr file before calling dcc32, but one of them gives me Error projectName.dpr 3 1: Waiting for END?

I need dcus from project1 for project2, which, when I run dcc32 against .dpr, indicates that it cannot find the missing dcus from project1 for project2.

What steps do clc / utility need to run to create dcu files? Runs on XP with Delphi 6 installed. DCC32 v14 BRC32 v5.4

+2
source share
2

, -N, ? , , , dcu, - -N0. ( N, ).

+4

dcc32 --help - . :

-N0<path> = unit .dcu output directory

( , D6 . D7 ).

, -U, -R .. :

dcc32 -B -CC -Q -E.\bin -IC:\home\work\Indy;C:\home\work\dUnit\src -LE.\bin -N0.\build -O"C:\home\work\Indy;C:\home\work\dUnit\src" -U"C:\home\work\Indy;C:\home\work\dUnit\src" -R"C:\Program Files\Borland\Delphi6\source\Indy;C:\Program Files\Borland\Delphi6\lib" SIP.dpr

EDIT: , dcc32 --help -N0. , ( ) .

0

Source: https://habr.com/ru/post/1751767/


All Articles