[Lazarus] Help needed for conference...

Mehmet Erol Sanliturk sanliturk at ttmail.com
Wed Oct 14 13:55:22 CEST 2009


Graeme Geldenhuys wrote:
> 2009/10/14 Mehmet Erol Sanliturk <sanliturk at ttmail.com>:
>> Trying to compile a source written with Delphi specific features by Lazarus
>> by using ifdef-else directives to distinguish Lazarus and Delphi specific
>> parts is to generate a source which is a nightmare to maintain . To avoid
>> such a structure I am thinking seriously to write Windows_for_Unix and
>> Windows_for_Linux units from scratch . I think this is much easier than to
>> maintain a source described above .
> 
> 
> I would recommend you guys seriously look at only using Lazarus. What
> does Delphi offer that Lazarus doesn't. And then, to be fair, what and
> Lazarus offer that Delphi doesn't.
> 
> Our company switched some 5 years ago to only using Lazarus and FPC.
> Haven't had any major drawbacks - in fact this are working much
> better. Plus we are saving huge costs for not having to purchase
> development tools every 1-2 years. In return for getting such a lot
> for free (including the brilliant support form all of you), we are
> allowed to work on Lazarus features ever now and again in company
> time, to contribute back to the community.
> 


The problem exists for an EXISTING code base . When it is NOT trivial to 
compile it with Lazarus due to heavy dependence on Delphi specific 
features  ( actually Windows specific parts ) causing semantic 
differences between Lazarus and Delphi ( especially because of widget 
sets ) it is becoming necessary to pursue a dual compilation environment 
up to a complete conversion .

For that reason I wish to have Windows units both for Unix and Linux (
at least for me , but for all supported platforms , having such units 
will make portability very easy for the Lazarus users in those platforms  )


For a new start-up project with Lazarus and continuation with Lazarus 
there is NO problem because it may continue with only Lazarus .


To be honest I prefer to be able to compile the same code base with 
different compilers as many as possible to enable code reviews by 
different "EXPERTS" . By using dual compilers as ( Free Pascal , Lazarus 
) and ( Delphi versions )  I have been able to catch many different 
errors recognized by only one of the compilers but not with the other .
I will continue to use such multiple compiler application .


Thank you very much .


Mehmet Erol Sanliturk











More information about the Lazarus mailing list