相当于dos时的编译和连接吧。

解决方案 »

  1.   

    Build是重新编译所有文件,
    而Compile只是重新编译上次编译后修改过的文件。
      

  2.   

    Compiler只编译修改过的文件
    Build所有的文件全部编译,无论文件是否修改过。
    通常Build耗时必Compile长。
    (这次把分给解放区来的同志还是翻身农民心向党?)
      

  3.   

    Build是重新编译所有文件,
    而Compile只是重新编译上次编译后修改过的文件。
      

  4.   

    看一看人家BORLAND是怎么说的吧:
    Use Project|Compile project to compile all files in the current project that have changed since the last build into a new executable file,. dynamic link library (.DLL), resource file (.RES), or so on. This command is similar to the Build command, except that Project|Compile builds only those files that have changed since the last compile, whereas Build rebuilds all files whether they have changed or not. If you checked Show Compiler Progress from the Preferences page on the Tools|Environment Options dialog box, the Compiling dialog box displays information about the compilation progress and results. When your application successfully compiles, choose OK to close the Compiling dialog box.If the compiler encounters an error, the product reports that error on the status line of the Code editor and places the cursor on the line of source code containing the error. The compiler builds executable files according to the following rules: The project (.dpr) file is always recompiled.
    If the source code of a unit has changed since the last time the unit was compiled, the unit is compiled. When a unit is compiled, the product creates a file with a .dcu extension for that unit.If Delphi cannot locate the source code for a unit, that unit is not recompiled.If the interface part of a unit has changed, all the other units that depend on the changed unit are recompiled.
    If a unit links in an object file (external routines), and the object file has changed, the unit is recompiled.
    If a unit contains an Include file. and the Include file has changed, the unit is recompiled.You may choose to compile only portions of your code if you use conditional directives and predefined symbols in your code.
    Choose Build from the Project Manager Project context menu to rebuild all the components of your project regardless of whether they have changed.This command is similar to Make except that Build rebuilds everything whereas Make rebuilds only those files that have been changed since the last build. Tip: This command is useful when you are unsure of exactly which files have or have not been changed, or when you simply want to ensure that all files are current and synchronized. It抯 also important to Build all files in a project when you抳e changed global compiler directives or compiler options, to ensure that all code compiles in the proper state.
    Note: This command works the same as Project|Build project.
    Tip: If you have multiple projects within a project group, you can make all projects within a project group by using the Project|Compile All Projects command.
      

  5.   

    来晚了。。没分了。。同意up。。up的。。
      

  6.   

    我只是路过,牙还没刷呢,你问我Compile与Build有什么区别,我怎么会知道呢?chechy(我爱洁洁) 和netlib(河外孤星) 说的没有错,如果非要说为什么会这样,那只能说Borland要这样,呵呵。
      

  7.   

    具体原因说不上,但我通常选则Build。有原因的我常用Compile不会有错,但用Build就有些小毛病,比如变量定义了但未使用,或赋了值但未使用,等等。所以,我都用Build,这样就不会有错误没发现了。