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 <jonas.ma...@elis.ugent.be>
To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org>
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: <11213114-55c9-41f0-a45a-a84a4c949...@elis.ugent.be>
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 - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
End of fpc-pascal Digest, Vol 119, Issue 25
*******************************************
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal