[lazarus] Asserts and other stuff
Peter Vreman
pfv at cooldown.demon.nl
Tue Jul 6 11:06:59 EDT 1999
> Message text written by INTERNET:lazarus at miraclec.com
> >At 01:36 6/25/99 -0400, you wrote:
> >I'm interested in researching how to develop cross platform apps using the
> >Free Pascal Compiler. Is it possible now? Or only after the Lazarus
> >project is further along?
> >
>
> Tom:
>
> FPC has compilers for many platforms. GTK has been ported to win32
> (there's a working version of gimp for win32) via a set of dll's. The fpc
> gui examples which use gtk compile under both win32 and linux, assuming you
> have the libraries/dll's installed. I got an earlier version of lazarus to
> compile and run under win32 a few weeks ago. As long as lazarus is careful
> about the units used (like the linux unit) it can be a cross-platform tool.
>
> In a nutshell, it's possible to use fpc/gtk right now for win32/linux
> development. When lazarus is more mature, it should be a lot easier.
>
> I've been getting the hang of gtk programming the past week and should have
> some example code available shortly if anyone wants it.
When you want cross platform compiling you only need to make cross
platform as/ld yourselves. For the go32v2/win32 it's possible to compile
at least the units cross platform but not the linking and the startup
code.
When you want multiplatform code you just need to stick to the default
units like tp7 compatible (crt,dos,printer,(graph)) or FCL or API units
(used by FV).
Peter
More information about the Lazarus
mailing list