

In order to make a direct comparison (same PC), the testing for Linu圆4 bit code generated by Delphi Tokyo compiler is done at Linux Sub System on Windows. Delphi Win64 compiler produces the fastest Win64 code. Visual Studio C++ compiler produces the fastest Win32 code.

Whenever you use a new compiler feature test for CompilerVersion. Which of these you use depends on your code. For Delphi 6 and higher you can use the built-in constants CompilerVersion and RTLVersion. If this is not defined, you have to use the old VERxxx scheme to distinguish between the Delphi versions. The following table lists the version number associated with each release of Delphi compilers, beginning with Turbo Pascal 4.0 and ending with the current version of the compiler.

Go Up to Conditional compilation (Delphi). Every bpl file will require corresponding VCLXX.bpl library depending on Delphi version. Almost the same situation is with bpl files as I know. But, for example, dcu files can be used only by compiler version, which generated them. But I would like people to be able to use them despite of their Delphi version. I have some components I would like to redistribute in binary form (*.bpl without source). Typically I use RAD Studio 2010 for Delphi development.
