请教:dcc32如何去用? dcc32如何去用? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 dcc32 xxx.pas回车。或者dcc32 xxxx.dpr回车这是最简单的用法,当然我想这你会的。 Borland Delphi Version 14.0Copyright (c) 1983,2002 Borland Software CorporationSyntax: dcc32 [options] filename [options] -A<unit>=<alias> = Set unit alias -LU<package> = Use package -B = Build all units -M = Make modified units -CC = Console target -N<path> = DCU output directory -CG = GUI target -O<paths> = Object directories -D<syms> = Define conditionals -P = look for 8.3 file names also -E<path> = EXE output directory -Q = Quiet compile -F<offset> = Find error -R<paths> = Resource directories -GD = Detailed map file -U<paths> = Unit directories -GP = Map file with publics -V = Debug information in EXE -GS = Map file with segments -VR = Generate remote debug (RSM) -H = Output hint messages -W = Output warning messages -I<paths> = Include directories -Z = Output 'never build' DCPs -J = Generate .obj file -$<dir> = Compiler directive -JP = Generate C++ .obj file --help = Show this help screen -K<addr> = Set image base addr --version = Show name and versionCompiler switches: -$<letter><state> (defaults are shown below) A8 Aligned record fields P+ Open string params B- Full boolean Evaluation Q- Integer overflow checking C+ Evaluate assertions at runtime R- Range checking D+ Debug information T- Typed @ operator G+ Use imported data references U- Pentium(tm)-safe divide H+ Use long strings by default V+ Strict var-strings I+ I/O checking 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 得到上面这东西,也只需要dcc32 >a.txt 输入到a.txt这个文本文件。 这个我也知道啊,其中常用的有哪些啊!比如我dcc32 project1.dpr -e c:\就出错啊! 不要加空格,dcc32 project1.dpr -Ec:\ 非常感谢:halfdream(哈欠) 实在有点不在好意思问你问题了,不过还有一个问题想问你:我用了第三方的组件,想在dcc下编译,可说找不到dcu文件,我怎么定义liblary?如果你看到了,就帮我一下,谢了。 非常感谢:halfdream(哈欠)在你的帮助下,我有看了些delphi自带的help,终于有点眉目了,现总结如下:1。dcc32是delphi的command complier,是在命令行方式下运行的,在command模式下的任何路径都可以直接输入dcc32查看帮助。2。我主要用了两个参数:-e:定义exe文件的输出路径。example:dcc32 project.dpr -ec:\ 注意-e和c;\之间无空格。-u:如果使用了第三方控件,需要查找资源路径,就是界面模式下的tools-->Environment Options-->library-->library path中定义的路径一样。有了这两个参数,我想就可以编译生成可执行文件了。3。这里说一个小技巧,其实也是borland设计的一个功能。如果参数列表很多,如果每次在command模式下都输入相同的参数列表,那就是资源浪费,borland定义了dcc32.cfg文件,我们可以把参数列表输入这个文件。那么下次运行时,就不需要输入参数了。直接dcc32 *.dpr就可以了。4。以上,是我做的一点总结,望高手指点。 是的..从TURBO C开始,在BIN目录下面就可以看到一个TCC.CFG文件,BORLAND的好几个开发工具比如BCB,DELPHI都沿用这种方式..当然,如果你的项目比较复杂,又想命令行编译,那就试着编写MAKE文件吧.. 编写MAKE文件是一个好方法,也在部分组件代码中见过。好了,结贴了! webbrowser高级控制Content-Type问题 请教一个关于指针出错的问题 请问:同步发送、异步发送、同步调用、异步调用、阻塞调用、非阻塞调用 之间的关系是什么? delphi里面支持正则吗?如果想实现类似正则的功能用什么好? 组件安装,急 dbgrid的内容怎么输出到excel中打印?? 请问各位大侠,两个同类数据库在运行时如何恢复数据库 关于ADO+ACCESS的动态连接? 一个很难的问题,请数据库专家会诊... 特好回答的问题:关于转数据的问题! 关于ADO的问题(等着回答,分不够再给^_^) 关于VCL FrameWork 的消息处理问题
dcc32 xxxx.dpr回车这是最简单的用法,当然我想这你会的。
Copyright (c) 1983,2002 Borland Software CorporationSyntax: dcc32 [options] filename [options] -A<unit>=<alias> = Set unit alias -LU<package> = Use package
-B = Build all units -M = Make modified units
-CC = Console target -N<path> = DCU output directory
-CG = GUI target -O<paths> = Object directories
-D<syms> = Define conditionals -P = look for 8.3 file names also
-E<path> = EXE output directory -Q = Quiet compile
-F<offset> = Find error -R<paths> = Resource directories
-GD = Detailed map file -U<paths> = Unit directories
-GP = Map file with publics -V = Debug information in EXE
-GS = Map file with segments -VR = Generate remote debug (RSM)
-H = Output hint messages -W = Output warning messages
-I<paths> = Include directories -Z = Output 'never build' DCPs
-J = Generate .obj file -$<dir> = Compiler directive
-JP = Generate C++ .obj file --help = Show this help screen
-K<addr> = Set image base addr --version = Show name and version
Compiler switches: -$<letter><state> (defaults are shown below)
A8 Aligned record fields P+ Open string params
B- Full boolean Evaluation Q- Integer overflow checking
C+ Evaluate assertions at runtime R- Range checking
D+ Debug information T- Typed @ operator
G+ Use imported data references U- Pentium(tm)-safe divide
H+ Use long strings by default V+ Strict var-strings
I+ I/O checking 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
dcc32 >a.txt 输入到a.txt这个文本文件。
比如我
dcc32 project1.dpr -e c:\
就出错啊!
dcc32 project1.dpr -Ec:\
实在有点不在好意思问你问题了,不过还有一个问题想问你:
我用了第三方的组件,想在dcc下编译,可说找不到dcu文件,我怎么定义liblary?
如果你看到了,就帮我一下,谢了。
在你的帮助下,我有看了些delphi自带的help,终于有点眉目了,现总结如下:
1。dcc32是delphi的command complier,是在命令行方式下运行的,在command模式下的任何路径都可以直接输入dcc32查看帮助。
2。我主要用了两个参数:
-e:定义exe文件的输出路径。example:dcc32 project.dpr -ec:\ 注意-e和c;\之间无空格。
-u:如果使用了第三方控件,需要查找资源路径,
就是界面模式下的tools-->Environment Options-->library-->library path中定义的路径一样。
有了这两个参数,我想就可以编译生成可执行文件了。
3。这里说一个小技巧,其实也是borland设计的一个功能。
如果参数列表很多,如果每次在command模式下都输入相同的参数列表,那就是资源浪费,borland定义了dcc32.cfg文件,我们可以把参数列表输入这个文件。那么下次运行时,就不需要输入参数了。直接dcc32 *.dpr就可以了。
4。以上,是我做的一点总结,望高手指点。
BORLAND的好几个开发工具比如BCB,DELPHI都沿用这种方式..当然,如果你的项目比较复杂,又想命令行编译,那就试着编写MAKE文件吧..
好了,结贴了!