转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 软件开发 >> Delphi程序 >> 正文
Delphi command-line compiler         ★★★★

Delphi command-line compiler

作者:闵涛 文章来源:闵涛的学习笔记 点击数:2091 更新时间:2009/4/23 18:31:07
?

If you were applying this option to the previous example, the command would be:

?

dcc32 MYSTUFF -M

?

Build all (-B) option

?

Instead of relying on the -M option to determine what needs to be updated, you can tell command-line compiler to update all units upon which your program depends using the -B option. You can''''t use -M and -B at the same time. The -B option is slower than the -M option and is usually unnecessary.

?

If you were using this option in the previous example, the command would be

?

dcc32 MYSTUFF -B

?

Find error (-F) option

?

When a program terminates due to a runtime error, it displays an error code and the address at which the error occurred. By specifying that address in a -Faddress option, you can locate the statement in the source text that caused the error, provided your program and units were compiled with debug information enabled (via the $D compiler directive).

?

In order for the command-line compiler to find the runtime error with -F, you must compile the program with all the same command-line parameters you used the first time you compiled it.

?

As mentioned previously, you must compile your program and units with debug information enabled for the command-line compiler to be able to find runtime errors. By default, all programs and units are compiled with debug information enabled, but if you turn it off, using a {$D-} compiler directive or a -$D- option, the command-line compiler will not be able to locate runtime errors.

?

Generate object file (-J) option

?

Using the -J option will generate an object file.

?

Use packages (-LU) option

?

Use the -LU option to list additional runtime packages that you want to use in the application being compiled. Runtime packages already listed in the Project Options dialog box need not be repeated on the command line.

?

Disable implicit compilation (-Z) option

?

The -Z option prevents packages and units from being implicitly recompiled later. With packages, it is equivalent to placing {$ IMPLICITBUILD OFF} in the .dpk file. Use -Z when compiling packages that provide low-level functionality, that change infrequently between builds, or whose source code will not be distributed.

?

Target file extension (-TX) option

?

The -TX option lets you override the default extension for the output file. For example,

?

dcc32 MYSTUFF -TXSYS

?

generates compiled output in a file called MYSTUFF.SYS.

?

Quiet (-Q) option

?

The quiet mode option suppresses the printing of file names and line numbers during compilation. When the command-line compiler is invoked with the quiet mode option

?

dcc32 MYSTUFF -Q

?

its output is limited to the startup copyright message and the usual statistics at the end of compilation. If any errors occur, they will be reported.

上一页  [1] [2] [3] 


[系统软件]InstallShield Express for delphi制作安装程序定…  [常用软件]InstallShield Express制作Delphi数据库安装程序
[VB.NET程序]MCI Command String总览  [Delphi程序]为什么选择Delphi.Net ?
[Delphi程序]《关于VisiBroker For Delphi的使用》(4)  [Delphi程序]Delphi 程序员代码编写标准指南
[Delphi程序]转贴:Conversion to Delphi 6: Missing unit Pro…  [Delphi程序]Borland Delphi 9 的新特性
[Delphi程序]Delphi 键盘码表  [Delphi程序]Chuck Jazdzewski的离开意味着Delphi的终结吗?
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · C语言系列  · VB.NET程序
    · JAVA开发  · Delphi程序
    · 脚本语言
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台