[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

Michael Van Canneyt michael at freepascal.org
Thu Aug 1 11:38:57 CEST 2013

On Thu, 1 Aug 2013, Sven Barth wrote:

> Am 01.08.2013 11:10, schrieb dev.dliw at gmail.com:
>> And if it's allowed to dream: one time fpc will simply link against C++
>> directly :)
> If you prefer to work in Pascal instead of C++ then you could work on that 
> dream by improving the cppclass code in the compiler. Linking against static 
> C++ class methods already works, what's (basically) missing is support for 
> C++ runtimes (at first the stdc++ one would be sufficient), support for 
> vtables and object instantiation/destruction.

How do you handle different binary formats of C++ compilers ?
Or is this meanwhile standardized ?


More information about the fpc-pascal mailing list