我有一文件test.dpr,在delphi环境中可以编译运行,
我还可以用其它的形式编译它吗?
请具体说明!
需要设置环境吗?

解决方案 »

  1.   

    dcc32,看一下具体的参数及说明
      

  2.   

    C:\>dcc32
    Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise CorporationSyntax: DCC32 [options] filename [options]  -A<unit>=<alias> = Set unit alias  -K<addr> = Set image base addr
      -B = Build all units               -LU<package> = Use package
      -CC = Console target               -M = Make modified units
      -CG = GUI target                   -N<path> = DCU output directory
      -D<syms> = Define conditionals     -O<paths> = Object directories
      -E<path> = EXE output directory    -P = look for 8.3 file names also
      -F<offset> = Find error            -Q = Quiet compile
      -GD = Detailed map file            -R<paths> = Resource directories
      -GP = Map file with publics        -U<paths> = Unit directories
      -GS = Map file with segments       -V = Debug information in EXE
      -H = Output hint messages          -VR = Generate remote debug (RSM)
      -I<paths> = Include directories    -W = Output warning messages
      -J = Generate .obj file            -Z = Output 'never build' DCPs
      -JP = Generate C++ .obj file       -$<dir> = Compiler directive
    Compiler switches: -$<letter><state> (defaults are shown below)
      A+  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
    Stack size: -$M<minStackSize[,maxStackSize]> (default 16384,1048576)
      

  3.   

    Dcc32 "D:\My\scr\MyApp.dpr"
      

  4.   

    C:\>dcc32
    Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise CorporationSyntax: DCC32 [options] filename [options]  -A<unit>=<alias> = Set unit alias  -K<addr> = Set image base addr
      -B = Build all units      
    =============================
    这是不是从cmd上复制下来的
    能从cmd中复制吗?
    请教?!
      

  5.   

    乭to wjg001(中文昵称) 
    可以使用管道输出!具体的你查一下!同时,批评你几句,如果你有问题,你应该到其它地方提问
      

  6.   

    问题解决了,但是dcc32的具体用法还不清楚!
    过几天,就结帖!
    大力感谢yfjyz(dd) ,zswang(伴水清清)(专家门诊清洁工) 
    批评
      Efeis(Efeis),以后不要说废话
      wjg001(中文昵称),乱提问! 
      

  7.   

    to: wjg001(中文昵称) 
    ----
    cmd里面也可以复制、粘贴
    方法:
    复制,用鼠标选定范围,敲Enter
    粘贴:直接就是鼠标右键