The following table lists the files produced by the successful compilation of a package.
|
File extension |
Contents |
|
.dcp |
A binary image containing a package header and the concatenation of all dcu (Windows) or dpu (Linux) files in the package. A single dcp file is created for each package. The base name for the dcp is the base name of the dpk source file. |
|
.dcu (Windows) .dpu (Linux) |
A binary image for a unit file contained in a package. One dcu or dpu file is created, when necessary, for each unit file. |
|
.bpl on Windows bpl<package>.so on Linux |
The runtime package. This file is a shared library with special Borland-specific features. The base name for the package is the base name of the dpk source file. |
Package-specific
command-line compiler switches
Package-specific compiler directives
下表列出了成功编译包时产生的文件:
|
扩展文件名 |
内容 |
|
.dcp |
二进制镜象文件,包含了包的首部以及在包中的所有dcu(Windows)或dpu(Linux)文件。每个包都会产生一个相应的dcp文件,主文件名与dpk源文件的主文件名相同。 |
|
.dcu(Windows中) .dpu(Linux中) |
包含在包中的所有单元文件的二进制镜象文件。如果有必要,那么编译将为每个单元文件创建一个相应的dcu或dpu文件。 |
|
.bpl(Windows中) bpl<package>.so (Linux中) |
运行时包。该文件是具有Borland独有特性的特殊共享库,主文件名与dpk源文件的主文件名相同。 |