Delphi for .Net 编译器预览 - by John Kaster

2008-04-09 04:27:59来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折


Welcome zhang jinyu www.borland.com AppServer C CORBA Delphi & Kylix InterBase Java Linux TeamSource DSP Borland Developer Network Home >Delphi & Kylix> Platforms


Delphi for .NET compiler preview - by John Kaster

Abstract:A first look at the Delphi for .NET compiler features and Delphi''''s new language syntax

by John Kaster and Danny Thorpe

At BorCon 2002, Borland started providing more technical details on our support under development for the .NET platform. This article introduces some of the planned enhancements to the Delphi language and introduces the prototype "Delphi for .NET" compiler. Unless otherwise indicated, the language features discussed here will first be seen in the Delphi for .NET compiler. Furthermore, all of the features discussed in this article may not be introduced in the preview release. When possible, features already implemented in the compiler will be listed, but since the compiler is in beta right now, not much emphasis will be placed on distinguishing what''''s currently implemented and what''''s not.

For a good, brief overview of .NET and an introduction to some of the terms mentioned in this article, see http://arstechnica.com/paedia/n/net/net-1.html.

DCCIL

The Delphi for .NET compiler produces Common Intermediate Language (CIL) applications. These applications can run anywhere the .NET run-time is available as fully managed applications. This means that Delphi applications can now move beyond their traditional Windows/Intel platform to any other platform that has a .NET runtime, such as the .NET compact framework available for tablet PCs, phones, and PDAs.

The Delphi command line compiler for IL is dccil.exe. Here''''s what currently shows up when you run it without any parameters. (This output is guaranteed to change before we release the Delphi for .NET preview with Delphi 7.)


Borland Delphi Version 16.0
Copyright (c) 1983,2002 Borland Software Corporation
Confidential pre-release version built Aug  2 2002 17:29:33

Syntax: dccil [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
product version: VER160
debug level: 2

			   
			   

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:用 API 做的 ServerSocket 例子

下一篇:把图标存储在SHELL32.DLL