Dear Joans,
After some digging, it seems that Free Pascal cannot link to C++ object file
directly, which means Free Pascal cannot link to C++ static libraries
directly. Runtime Error 216 errorrs.
http://stackoverflow.com/questions/23647522
http://stackoverflow.com/questions/8174998
This feature is on Free Pascal road map.
http://www.freepascal.org/future.var
Best wishes,
Xichen Li
--- Original message ---
Message: 5
Date: Thu, 15 May 2014 11:11:45 +0200
From: Jonas Maebe <[email protected]>
To: FPC-Pascal users discussions <[email protected]>
Subject: Re: [fpc-pascal] Static linking against the indigo
cheminformatics package under Linux x64 complains undefined reference
to __dso_handle when Free Pascal is used
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On 14 May 2014, at 08:54, Xichen Li wrote:
However, it complains "undefined reference to __dso_handle". The Error msg
is shown below:
You also have to link against libc. gcc does that by default, but FPC does
not.
Joans
------------------------------
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
End of fpc-pascal Digest, Vol 119, Issue 25
*******************************************
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal