On 3/29/06, Roland Turcan - RoTurSoft <[EMAIL PROTECTED]> wrote:
> We make software which is now made on Delphi 7/VCL for Windows and Kylix
> 3 for Linux. We are looking for possibility to make MacOS version, but I
> would like to ask, if it is possible to use the same code for all
> platform with some conditions for platform differences or it is better
> to have own directories with sources for all platforms.

I normally use the same code for Delphi and Lazarus, and then I can
recompile it on various platforms: Windows, Linux, FreeBSD, in the
future Mac OS X (when I get a machine to compile and test). Only a few
ifdefs are needed for delphi-lazarus compatibility and some other
ifdefs for some OS specific things I use.

Note that Lazarus is compatible (95%) with VCL, but not with CLX, so
you will probably want to start the port using the Windows version
(suposing it's based on VCL).

> Second question is, that if Lazarus contains some implementation, then
> that one is already on all of supported platforms?

There is a page with status of each component here:

http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0#Widgetset_dependent_components

Note that the status of Gtk2 and Carbon are incorrect and need to be updated.

--
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to