Exe Size of an automated Delphi Build differs from a manual one

 Hello, 

 
I am currently setting up a build environment using FinalBuilder Embarcadero 
Edition and Delphi XE for some in-house packages. Everything is working fine, 
except the fact that the packages sizes I get from the automated builds differ 
from the ones I get if I run a build from within Delphi XE. 
 
Trying another FB setup with a little test application (a simple form with 
panel) gives the same results. This occurs whether I use the Debug profile or 
the Release one, both with the default settings, and the variation is about a 
hundred kilobytes.
 
I used the "Load settings from project file" button first in the build action.
The "Load settings from Project File" option is checked and all options are 
checked, save for the "Directories" and the "Version Info" ones, and I gave no 
extra command line options. 
 
This is not a blocking issue since everything seems in working order, but could 
somebody give a hint about why this is happening ?

My guess would be either the library paths are different, or one is linking TD32 debug info and the other isn’t. The Delphi action has an option to keep the generated .cfg file that it generates (bottom left of the compiler property page), the file will have a .used extension, so you can see what options are passed to the compiler.

BTW, our agreement with Embarcadero is that they provide support for the Embarcadero Edition, so I would recommend contacting them in the first instance.

I'll check this out, then get to the Embarcadero forums.

Thank you for your answer.

 

Last time I tried using build profiles there were some gotchas.  You're far better off setting these things up explicitely, in particular if you have more than one developer involved as it's too easy for someone to change the settings in the .dproj and cause weird problems later on down the line.

I've got a lot of experience with Delphi and FB, feel free to contact me offline braindead.AT.diablops.com if you don't get the answers you need.