title: Delphi Compile and Build produce different binary on same project
body: <p>In a fresh VCL application <strong>Compile</strong> and <strong>Build</strong> operation produce the same binary and map file (with minor differences at the end of .exe file even if "include version information in project" option is switched off - already discussed). Map file is the same  byte to byte. But wen I add any third-party component the binary and map(!) file produced by Build and Compile are significantly different!</p>
  
  <p>Tested on two versions of Delphi:<br>
   - Version 7.0 (Build 8.1)<br>
   - CodeGear™ RAD Studio 2007 Version 11.0.2902.10471 (+December 2007 Update)</p>
  
  <p>Step to reproduce:  </p>
  
  <ol>
  <li>Create New VCL Application. Possibly add any native Delphi component (I try all components from Standart, Additional, Win32 and System tab). </li>
  <li>Turn on Detailed Map file on Linker tab of the Project Options. </li>
  <li><strong>Build project</strong>. </li>
  <li>Rename output .exe and .map file (for example: project1.exe to project1b.exe and project1.map to project1b.map). </li>
  <li><strong>Compile project</strong>. </li>
  <li>Rename output .exe and .map file (for example: project1.exe to project1c.exe and project1.map to project1c.map). </li>
  <li>Compare files from step 4 and 6. (I use WinMerge
  2.12.4.0).</li>
  </ol>
  
  <p>We have little different .exe files and fully identical .map files. Then if we repeat all steps again but use in the project third-party component (I try ODAC, DOA, DevExpress and selfmade) we get more different .exe and different .map files.</p>
  
  <p>Why? Any suggestions?</p>
  
  <p><strong>UPDATE</strong><br>
  Some information about how I found this and why it's interests me:<br>
  Project is build from simple script with MSBuild. When in the project was added translation thru ITE (dll with resources) I found that when project was Build (from script or from IDE) - translated version work wrong - some text on button, labels etc. got from wrong place (literally from another button, labels). When project Compiled from IDE - everything is ok. So I start compare Build and Compile output...</p>