手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>程序设计>delphi>列表

Delphi command-line compiler

来源:互联网 作者:西部数码 时间:2008-04-09
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!
???W-? Generate stack frames

? J-? Writeable structured consts??? ???? ????X ? Extended syntax

? L ? Local debug symbols???????????????????????Y ? Symbol reference info

? M-? Runtime type info???????????? ?????????????? ?Z1? Minimum size of enum types

? O ? Optimization

?

If filename does not have an extension, the command-line compiler assumes .dpr, then .pas, if no .dpr is found. If the file you''''re compiling to doesn''''t have an extension, you must append a period (.) to the end of the filename.

If the source text contained in filename is a program, the compiler creates an executable file named filename.exe. If filename contains a library, the compiler creates a file named filename.dll. If filename contains a package, the compiler creates a file named filename.bpl. If filename contains a unit, the compiler creates a unit file named filename.dcu.

You can specify a number of options for the command-line compiler. An option consists of a slash (/) or hyphen (-) immediately followed by an option letter. In some cases, the option letter is followed by additional information, such as a number, a symbol, or a directory name. Options can be given in any order and can come before or after the file name.

?

?

cfg FILE

You can set up a list of options in a configuration file called DCC32.CFG, which will then be used in addition to the options entered on the command line. Each line in configuration file corresponds to an extra command-line argument inserted before the actual command-line arguments. Thus, by creating a configuration file, you can change the default setting of any command-line option.

?

The command-line compiler lets you enter the same command-line option several times, ignoring all but the last occurrence. This way, even though you''''ve changed some settings with a configuration file, you can still override them on the command line.

?

When dcc32 starts, it looks for DCC32.CFG in the current directory. If the file isn''''t found there, dcc32 looks in the directory where DCC32.EXE resides.

?

Here''''s an example DCC32.CFG file, defining some default directories for include, object, and unit files, and changing the default states of the $O and $R compiler directives:

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!