Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-07

Asserts and other stuff

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thomas R. Wilk

Thanks Mike!!!

Message text written by

Show quoted text 5 lines
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. <

Reply by email

Peter Vreman
to Thomas R. Wilk
Show quoted text 21 lines
Message text written by >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

Reply by email