at the end we want to transport a 200000 lines project from Delphi to Lazarus to be platform independent. Has someone expirience with such large projects in Lazarus? What about the "turn around time" program -> compile -> start -> test -> abort -> program again...? Can anyone imagine that such a big project might work?
I've converted over 100,000 lines of Delphi code to Free Pascal and Lazarus, with partial success. Here's the things to keep in mind:
(1) If your code is partitioned into UI units and non-UI units, as mine was, the non-UI code should move over without too much trouble. I would imagine in a project of that size, you've already dealt with issue of partitioning and have the number crunching/database code in units that don't have any GUI.
(2) If your code uses only standard Delphi components, these too should move over pretty well. There are still some runtime behavior differences that I haven't resolved yet, but in many cases {$IFDEF} blocks can be used to work around things that behave differently. And the LC controls have gotten better and better over the last 6 months of so. Many of the remaining issues are obscure and detail things that you may not even notice.
(3) You don't mention whether you use any non-Delphi, 3rd party controls. If you do, you may be in for some serious work. I ported a number of 3rd party controls to Lazarus, with a moderate amount of effort, only to find that most of them simply don't work with Lazarus. It appears as though most of the runtime issues (crashes, etc.) I've run into with these 3rd party controls can be traced back to a dependency on Win API that the LCL either doesn't implement correctly or only partially implements. Of course, one of my goals with this porting was simly to investigate Lazarus and see how far I could get before attempting to port even a bigger project.
Since Delphi was only available for Windows, you can understand why 3rd party control writers treated the Win API as part of the RTL. But not all of the Win API is available with LCL and probably never will be, meaning you may have to rewrite any 3rd party controls yourself to get them to work.
(4) It's possible to maintain the same project in both Delphi and Lazarus. Then you can continue to do most of your development on Windows and Delphi and just use Lazarus to compile and test on other platforms. That way you don't lose the blazing compile-link performance of Delphi, but still have good cross-platform capability.
More details about your project would be helpful. I have no doubt that Lazarus and Free Pascal can handle a project of that size. However, 3rd party controls will be an issue that could prevent you from a successful port.