[fpc-pascal] Bindings for FLTK - testers needed

Michael Van Canneyt michael at freepascal.org
Wed Jun 24 15:17:21 CEST 2026



On Wed, 24 Jun 2026, Dibo via fpc-pascal wrote:

> Version 1.5.23.4. Finally solved issues with static linking. It turned 
> out that FPC while linking doesn't call everything as g++ call while 
> linking. I had to write patch. Does anyone know why it is needed and why 
> FPC doesn't call this by default? This is a code which I need to call in 
> my bindings at first thing before anything else:

FPC does not really support linking to C++ libraries. The usual mechanism is
to write a C library that sits between FPC/C++, which handles initialization.

Probably there will be other initialization routines that must be called,
you will likely discover them one by one, whenever a new widget is used that
needs one.

Michael.


More information about the fpc-pascal mailing list